Skip to content

Commit

Permalink
feat(533): update examples directory structure (#541)
Browse files Browse the repository at this point in the history
* chore(#533): moved docs nuxt directory

* chore(#533): moved drupal backlend to docs

* chore(#533): add readme

* chore(#533): moved or deprecated examples

* chore(#533): update gitpod scripts

* chore(#533): update gitpod scripts and docgen

* chore(#533): update nvm

* chore(#533): update lagoon config

* chore(#533): update dockerfile
  • Loading branch information
Decipher authored Jul 25, 2022
1 parent 54c8ece commit da58130
Show file tree
Hide file tree
Showing 1,058 changed files with 61,341 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ tasks:
yarn build
# druxtjs.org install
cd $GITPOD_REPO_ROOT/docs && yarn
cd $GITPOD_REPO_ROOT/docs/nuxt && yarn
cd $GITPOD_REPO_ROOT && yarn build:docs
command: |
# Start Drupal
cd $GITPOD_REPO_ROOT/examples/drupal/drupal-9 && ddev start -y && ddev drush uli
cd $GITPOD_REPO_ROOT/docs/drupal && ddev start -y && ddev drush uli
# Display welcome message
cd $GITPOD_REPO_ROOT && cat .gitpod/WELCOME.md
Expand Down
2 changes: 1 addition & 1 deletion .gitpod/WELCOME.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To get started you can do one of the following tasks:
- Run the Druxt build tools: `yarn build --watch`
- Run the Druxt test suite: `yarn test --watch`
- Generate Druxt documetation: `yarn build:docs`
- Start the DruxtJS.org website: `cd docs && yarn dev`
- Start the DruxtJS.org website: `cd docs/nuxt && yarn dev`

Happy contributing.

2 changes: 1 addition & 1 deletion .gitpod/scripts/drupal-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fi

set -eu -o pipefail

DRUPAL_DIR="${GITPOD_REPO_ROOT}/examples/drupal/drupal-9"
DRUPAL_DIR="${GITPOD_REPO_ROOT}/docs/drupal"

# Set up Drupal website
cd "$DRUPAL_DIR" && ddev start -y
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ To build your changed documentation, run the following command:
yarn build:docs
```

The documentation website is a Nuxt site located in the `/docs` directory, to test your changes run the following command:
The documentation website is a Nuxt site located in the `/docs/nuxt` directory, to test your changes run the following command:

```sh
cd docs && yarn dev
cd docs/nuxt && yarn dev
```

* * *
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
app:
build:
context: .
dockerfile: ./docs/Dockerfile
dockerfile: ./docs/nuxt/Dockerfile
labels:
lagoon.type: node
ports:
Expand Down
1 change: 0 additions & 1 deletion docs/.nvmrc

This file was deleted.

7 changes: 7 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# DruxtJS.org

This directory contains the source code for the Drupal backend and the Nuxt.js
frontend for https://druxtjs.org

The Drupal backend is also used for the examples sites and the projects test
coverage.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
settings:
label: 'Acciones principales de administración'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Medio 8:7'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: 'Responsive 3x2'
Loading

0 comments on commit da58130

Please sign in to comment.