mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
884c68b239
* Add Documentation * git ignore dist and node_modules filder * Update dependencies * Add GH Actions to test build * Update header to latest Quasar spec * resolve c&p issue * Update splashscreens * Add docs deploy |
||
---|---|---|
.. | ||
docs | ||
.gitignore | ||
package.json | ||
README.md | ||
yarn.lock |
Documentation
This folder contains the Hyperion documentation build files. It's written in Markdown with VuePress as static site generator.
Development
To edit or translate the documentation, it's not necessarily required to follow these steps (As we use Markdown). But if you want to check the results, please do so.
- Install latest Node.js LTS
- Open console
- Install Yarn
npm install -g yarn
(If this does not work - logout/login) - Navigate with console to this directory
- Do
yarn install
- Now you can start dev server with
yarn docs:dev
- Open Browser and go to address
localhost:8080
Notes
- If you want to view the deployable site locally run
yarn docs:serve
- Do not rename files and folders while translating
- Copy/paste and translate also
.vuepress/config.js
atthemeConfig.locales
- Changes in
.vuepress/config.js
may lead to a bugged dev server. Restart. - To modify the sidebar pages checkout
.vuepress/config.js
atthemeConfig.sidebar
Production
To get a deployable version run
yarn docs:build
(while inside this folder)- Files will be in
dist
folder