Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Nuxt UI component library #73

Merged
merged 192 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
437aa2a
Move current to bak folder
rijkvanzanten Dec 16, 2024
271a3be
Install fresh nuxt
rijkvanzanten Dec 16, 2024
9b2eb6d
Install eslint module
rijkvanzanten Dec 16, 2024
c122e0e
Install nuxt/content
rijkvanzanten Dec 16, 2024
d7a4ca4
Copy in new content
rijkvanzanten Dec 16, 2024
10817fc
Rename backup to .bak
rijkvanzanten Dec 16, 2024
bec041c
Install nuxt/ui-pro
rijkvanzanten Dec 16, 2024
31f3eb9
Bootstrap app
rijkvanzanten Dec 16, 2024
b069039
Move bak to different workspace
rijkvanzanten Dec 16, 2024
ead4dbf
Add custom icons
rijkvanzanten Dec 16, 2024
bbaff89
Install TS
rijkvanzanten Dec 16, 2024
5dc3d89
Boilerplate content renderer
rijkvanzanten Dec 16, 2024
e45fd3f
Setup prose components for in-md use
rijkvanzanten Dec 16, 2024
9d7b50d
Add editorconfig
rijkvanzanten Dec 16, 2024
1b92e8b
Move to prose folder
rijkvanzanten Dec 16, 2024
1db39cd
Render nav and surrounds
rijkvanzanten Dec 16, 2024
74856f5
Render TOC
rijkvanzanten Dec 16, 2024
cee2c70
Start on docs header
rijkvanzanten Dec 16, 2024
ee8f852
Shamefully hoist deps
rijkvanzanten Dec 16, 2024
23c7b46
Add logo svg
rijkvanzanten Dec 16, 2024
525f174
Add logo to nav
rijkvanzanten Dec 16, 2024
f50b3c5
Work in footer
rijkvanzanten Dec 16, 2024
f72a645
Header bar
rijkvanzanten Dec 16, 2024
bfc4947
Remove empty style blocks
rijkvanzanten Dec 16, 2024
70689aa
Use the system
rijkvanzanten Dec 16, 2024
ade983c
Add brand violet shades
rijkvanzanten Dec 16, 2024
d93c34b
Run formatter
rijkvanzanten Dec 16, 2024
b06f624
Setup brand purple
rijkvanzanten Dec 16, 2024
d1f6904
Set icons / titles in content
rijkvanzanten Dec 16, 2024
7290636
Use spaces in md
rijkvanzanten Dec 16, 2024
c442473
Use overridden purple as brand
rijkvanzanten Dec 16, 2024
acd3b68
Use content folder in components for prose
rijkvanzanten Dec 16, 2024
b62ed6b
Use Nuxt UI prose component
rijkvanzanten Dec 16, 2024
fc036b3
Update video embed usage
rijkvanzanten Dec 16, 2024
afec9e6
Finish dir-tv embed
rijkvanzanten Dec 16, 2024
9952cdd
Remove framework icons in favor of Icônes
rijkvanzanten Dec 16, 2024
7d941f8
Add homepage
rijkvanzanten Dec 16, 2024
8839a81
Force 2 spaces in md
rijkvanzanten Dec 16, 2024
1648922
Tighten styling of productlink
rijkvanzanten Dec 16, 2024
2509434
Update callout usage
rijkvanzanten Dec 16, 2024
cf88aa9
Couple more callouts
rijkvanzanten Dec 16, 2024
e46a46b
Fix home link
rijkvanzanten Dec 16, 2024
8f4b36e
Add community & cloud pages
phazonoverload Dec 17, 2024
2665929
Configure shiki langs
rijkvanzanten Dec 17, 2024
a60f3d3
Match sections folder structure
rijkvanzanten Dec 17, 2024
c9cb5ab
Header links active for section
rijkvanzanten Dec 17, 2024
e8ac305
Only render children of current section in docs layout nav
rijkvanzanten Dec 17, 2024
20d2f84
Header links reactive
rijkvanzanten Dec 17, 2024
35dc88a
Fix titles
rijkvanzanten Dec 17, 2024
eedaa56
Update links in header
rijkvanzanten Dec 17, 2024
905f50b
Couple more callouts
rijkvanzanten Dec 17, 2024
6ce7521
Partials back up
rijkvanzanten Dec 17, 2024
383fa14
Logo svgs as components
rijkvanzanten Dec 17, 2024
57ff5d6
Add cloud cta
rijkvanzanten Dec 17, 2024
1ec6b5d
Make ctas configurable
rijkvanzanten Dec 17, 2024
dd0e758
Use updated logo comps
rijkvanzanten Dec 17, 2024
651c710
Use new cloud cta in content
rijkvanzanten Dec 17, 2024
40c48fe
Fix license partial
rijkvanzanten Dec 17, 2024
861dfbd
Rename file back to platform-overview
rijkvanzanten Dec 17, 2024
08bf0ae
Override prose img w/ border and radius
rijkvanzanten Dec 17, 2024
3637e1b
Make opinions on shades
rijkvanzanten Dec 17, 2024
140d5bd
Tweak cta banner some more
rijkvanzanten Dec 17, 2024
28acbd2
Base header on prefix
rijkvanzanten Dec 17, 2024
bf13068
Transform callouts
rijkvanzanten Dec 17, 2024
cf563fa
Update dev-docs callouts
rijkvanzanten Dec 17, 2024
1afe4b8
Update api-reference callouts
rijkvanzanten Dec 17, 2024
a8fdcab
Update resources page
rijkvanzanten Dec 17, 2024
73019e4
Consistent newline usage
rijkvanzanten Dec 17, 2024
fb0c7e2
Replace tutorial callout style
rijkvanzanten Dec 17, 2024
8b3cbe8
Introduce FAQ prose
rijkvanzanten Dec 17, 2024
ebe22e3
Last couple of callouts
rijkvanzanten Dec 17, 2024
e5bae29
Redirects in nuxt config
rijkvanzanten Dec 17, 2024
07ffc82
Fix indent size
rijkvanzanten Dec 17, 2024
f14ab2c
Upgrade openapi
rijkvanzanten Dec 17, 2024
55d8a64
Run formatter
rijkvanzanten Dec 17, 2024
f4c770a
Format config
rijkvanzanten Dec 17, 2024
b19fd2a
Fix icon usage in content
rijkvanzanten Dec 17, 2024
d7ce9e5
Add api homepage content
rijkvanzanten Dec 17, 2024
ad3cddc
Render headline
rijkvanzanten Dec 17, 2024
684e4f7
WIP! Render out API reference
rijkvanzanten Dec 18, 2024
08b7ce5
Render api full width
rijkvanzanten Dec 18, 2024
4e06510
Nav: Getting Started as Start
alexchopin Dec 18, 2024
5d50cff
Content: Grouping
alexchopin Dec 18, 2024
392d55d
Content update with header links
alexchopin Dec 18, 2024
2475b51
Content update (flows)
alexchopin Dec 18, 2024
b3f7d88
Final header groups hopefully
alexchopin Dec 18, 2024
8025de7
Push for Kevin :+1:
alexchopin Dec 18, 2024
75d200a
move extensions content into guides
alexchopin Dec 18, 2024
595a1ab
Remove outdated app.vue
rijkvanzanten Dec 18, 2024
00720fc
header container for API
alexchopin Dec 18, 2024
6121448
Merge branch 'ui' of https://github.com/directus/docs into ui
alexchopin Dec 18, 2024
39ff6b8
footer container for API
alexchopin Dec 18, 2024
421e9d1
Tutorials
phazonoverload Dec 18, 2024
4568c46
Merge branch 'ui' of github.com:directus/docs into ui
phazonoverload Dec 18, 2024
9b2949f
Install lodash
rijkvanzanten Dec 18, 2024
4de577e
Render api query params
rijkvanzanten Dec 18, 2024
046e125
Render out response examples
rijkvanzanten Dec 18, 2024
c57b25f
Remove previous attempt
rijkvanzanten Dec 18, 2024
9db4dce
Render request body
rijkvanzanten Dec 18, 2024
18cd503
Render request body
rijkvanzanten Dec 18, 2024
4f70455
Support anyOf
rijkvanzanten Dec 18, 2024
dd27000
Tweak flexin'
rijkvanzanten Dec 18, 2024
af61f77
Fix nav links in api ref
rijkvanzanten Dec 19, 2024
66772b0
Fix css glitch in api
rijkvanzanten Dec 19, 2024
1b0e57a
Organize tutorials
rijkvanzanten Dec 19, 2024
deaa670
Remove extraneous div
rijkvanzanten Dec 19, 2024
99413e0
Setup tutorials page
rijkvanzanten Dec 19, 2024
98e3eab
Render categories
rijkvanzanten Dec 19, 2024
9273896
Add card rendering
rijkvanzanten Dec 19, 2024
ef598be
Remove duplicated pages
rijkvanzanten Dec 19, 2024
dbed38e
Add consistent toc
rijkvanzanten Dec 19, 2024
3c664dd
Replace article-cards
rijkvanzanten Dec 19, 2024
c27361b
Render search
rijkvanzanten Dec 19, 2024
d4a76ed
Add search endpoint
rijkvanzanten Dec 19, 2024
3d5928a
🤦
rijkvanzanten Dec 19, 2024
7f5ceb3
Fix highlighting langs
rijkvanzanten Dec 19, 2024
3feafa4
Formatting
rijkvanzanten Dec 19, 2024
76d40fd
Fix typo
rijkvanzanten Dec 19, 2024
32ca249
Start resolving dead links
rijkvanzanten Dec 19, 2024
0a5d662
Resolve more dead links
rijkvanzanten Dec 19, 2024
cd4b96e
Replace snippets
rijkvanzanten Dec 19, 2024
969009e
Resolve broken links
rijkvanzanten Dec 19, 2024
f0bc332
Remove link checker
rijkvanzanten Dec 19, 2024
431b0ce
Remove duplicate content
rijkvanzanten Dec 19, 2024
6a94c8f
More dead links
rijkvanzanten Dec 19, 2024
67215d6
Move link map to productlink comp
rijkvanzanten Dec 19, 2024
8377a1c
More broken links
rijkvanzanten Dec 19, 2024
53ced63
Last couple dead links
rijkvanzanten Dec 19, 2024
317350c
Replace button spans
rijkvanzanten Dec 19, 2024
0986a30
Remove outdated span pre
rijkvanzanten Dec 19, 2024
895ee49
Fix old tag api ref links
rijkvanzanten Dec 19, 2024
50365f6
Fix icon name
rijkvanzanten Dec 19, 2024
1a14b4b
Include icons in dist
rijkvanzanten Dec 19, 2024
400d40d
Fix link
rijkvanzanten Dec 19, 2024
6243415
Don't crawl the whole website
rijkvanzanten Dec 19, 2024
dbfb6cd
Install icon set
rijkvanzanten Dec 19, 2024
c9994e4
Work around the problem..
rijkvanzanten Dec 19, 2024
6871dbc
Add posthog
rijkvanzanten Dec 19, 2024
0fa1743
Add feedback widget
rijkvanzanten Dec 19, 2024
b900622
Add divider
rijkvanzanten Dec 19, 2024
f5656f2
Reduce no of links
rijkvanzanten Dec 19, 2024
c3997c2
Downgrade nuxt, fix hmr
rijkvanzanten Dec 19, 2024
b291697
Bootstrap newsletter plugin
rijkvanzanten Dec 19, 2024
e02efc4
Update footer copyright contrast
rijkvanzanten Dec 19, 2024
23632a0
Resolve active state of header link
rijkvanzanten Dec 19, 2024
57e0417
No longer inject globals in content
rijkvanzanten Dec 19, 2024
bdaafbd
Make landing card/grid available w/ mods
rijkvanzanten Dec 19, 2024
d1ee29d
Use new shiny stuff
rijkvanzanten Dec 19, 2024
cbe8854
Tweak margin
rijkvanzanten Dec 19, 2024
50e3275
Fix typing of vimeo id
rijkvanzanten Dec 19, 2024
5e40919
Feedback button primary on save
rijkvanzanten Dec 19, 2024
aaa3f36
Tweak sizing
rijkvanzanten Dec 20, 2024
5bf31d0
Boilerplate icons/descriptions on home
rijkvanzanten Dec 20, 2024
ecddf8f
Updated page titles
phazonoverload Dec 20, 2024
be267cd
Updated header nav order
phazonoverload Dec 20, 2024
6b1a702
Missing word removed
phazonoverload Dec 20, 2024
d6bae7c
Use tutorial category links, add descriptions
hola-soy-milk Dec 20, 2024
1f033fc
Replace callout types with icons
hola-soy-milk Dec 20, 2024
9d0f17d
Remove titles from callouts
hola-soy-milk Dec 20, 2024
c5c3d46
Convert tabs into divs
hola-soy-milk Dec 20, 2024
7e41c0b
remove extra header on changelog
phazonoverload Dec 20, 2024
dd2ffb4
Add prefooter UI
phazonoverload Dec 20, 2024
0acc88c
Add rest samples back into the mix
rijkvanzanten Dec 20, 2024
17d00ac
Add OG Image
rijkvanzanten Dec 20, 2024
e804fe0
Add site globals
rijkvanzanten Dec 20, 2024
3b77010
Header sublinks in sidebar
alexchopin Dec 20, 2024
e3091e6
Render subtitles in tutorials
rijkvanzanten Dec 20, 2024
c9eeb39
Fill in README
hola-soy-milk Dec 20, 2024
6188007
Track img folder in git lfs
rijkvanzanten Dec 20, 2024
5502e2f
Move png to local img
rijkvanzanten Dec 20, 2024
62cde4c
Use img in content
rijkvanzanten Dec 20, 2024
16b3e1e
PreFooter Newsletter
phazonoverload Dec 20, 2024
0d80fa1
Merge branch 'ui' of github.com:directus/docs into ui
phazonoverload Dec 20, 2024
1255233
Fix mobile sidebar navigation
alexchopin Dec 20, 2024
6f010b6
Redo Start section structure
hola-soy-milk Dec 20, 2024
79cf758
Fix broken link
hola-soy-milk Dec 20, 2024
42e2e9b
Add tutorial descriptions
phazonoverload Dec 20, 2024
cd8264f
Merge branch 'ui' of github.com:directus/docs into ui
phazonoverload Dec 20, 2024
6ca65a9
Sidebar and icon structure
phazonoverload Dec 20, 2024
617f4bb
Updated productlink and header
phazonoverload Dec 20, 2024
e918675
Home, Start up to date
phazonoverload Dec 20, 2024
926a8d6
Home
phazonoverload Dec 20, 2024
b5216c1
Install icon set
rijkvanzanten Dec 20, 2024
c9e9faa
Move images to repo
rijkvanzanten Dec 20, 2024
39b2d72
Fix margin shenanigans
rijkvanzanten Dec 20, 2024
8c0ea41
Fix broken links pt 2
rijkvanzanten Dec 20, 2024
200fc66
Add reference to ui-pro issue
rijkvanzanten Dec 20, 2024
39aff3b
Spacing tweaks in footer
rijkvanzanten Dec 20, 2024
3552270
Don't ... authors
rijkvanzanten Dec 20, 2024
6115156
Tweak wording
rijkvanzanten Dec 20, 2024
59c038e
Add 404, fix favicon
rijkvanzanten Dec 20, 2024
5a4b8e4
Merge branch 'main' into ui
rijkvanzanten Dec 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 8 additions & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
root=true
# editorconfig.org
root = true

[*]
indent_style = tab
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true

[*.{mjs,cjs,js,mts,cts,ts,json,vue,html,scss,css,toml,md}]
indent_style = tab
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
indent_style = space
indent_size = 2

[*.{yml,yaml}]
indent_style = space
indent_style = space
indent_size = 2
7 changes: 0 additions & 7 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
NUXT_PUBLIC_SITE_URL=http://localhost:3000
NUXT_SITE_ENV=preview
NUXT_PUBLIC_NEWSLETTER_URL=https://product-team.directus.app/flows/trigger/webhook_id
NUXT_PUBLIC_PRODUCT_DIRECTUS_URL=https://product-team.directus.app
NUXT_IMAGE_DOMAINS="product-team.directus.app"
POSTHOG_API_KEY="phc_api_key"
POSTHOG_API_HOST="https://us.i.posthog.com"
ALGOLIA_API_KEY="api_key"
ALGOLIA_APPLICATION_ID="application_id"
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public/img/**/*.* filter=lfs diff=lfs merge=lfs -text
39 changes: 0 additions & 39 deletions .github/actions/prepare/action.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/lint-app.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/lint-oas.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/typecheck.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,3 @@ logs
.env
.env.*
!.env.example

.remote


public/oas.yaml
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shamefully-hoist=true
54 changes: 53 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,53 @@
# Directus Docs
<p align="center"><img alt="Directus Logo" src="https://user-images.githubusercontent.com/522079/158864859-0fbeae62-9d7a-4619-b35e-f8fa5f68e0c8.png"></p>

---

> [!IMPORTANT]
> This documentation is in beta. We eagerly welcome your feedback!

## 🐰 Introduction

Welcome! This is the repo for [Directus' documentation](https://docs.directus.io).

**[Learn more about Directus](https://directus.io)**

<br />

## 🖥️ Running the Docs

### Requirements

* Node.js 20
* pnpm

### Install Dependencies

```bash
pnpm install
```

### Run Development Server

Start the development server on `http://localhost:3000`:

```bash
pnpm dev
```

## 🚀 Contributing

* [Code of Conduct](https://docs.directus.io/community/overview/conduct)
* [Contributing and authoring guidelines](https://docs.directus.io/community/contribution/documentation)

<br />

## 🤔 Community Help

- [Discord](https://directus.chat) (Questions, Live Discussions)
- [GitHub Issues](https://github.com/directus/docs/issues) (Report Bugs)
- [GitHub Discussions](https://github.com/directus/docs/discussions) (Feature Requests)

<br />


© 2004-2024, Monospace, Inc.
110 changes: 0 additions & 110 deletions api-spec/components/parameters.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions api-spec/components/responses.yaml

This file was deleted.

Loading