Documentation
This documentation is powered by the Docusaurus framework.
Installation
- Open your IDE in
./docs-sourcedirectory and run the following commands:
npm install
npm start
Then visit the URL http://localhost:4100/feedzback/.
Contribute
The documentation is written in markdown files located in the docs-source/docs directory.
New files must be referenced in docs-source/sidebars.ts file in order to be visible in the final documentation.
Build & deploy
The documentation is built in docs directory (at the root of the repository) and deployed on GitHub pages.
- To build the doc, run the following command:
npm run build
- The documention is deployed automatically on every commit to the
mainbranch. For details, see the GitHub pages settings.
Finally, visit the URL https://zenika.github.io/feedzback/ to see the online documentation.
Update
-
You can manually change the version number in
package.jsonto the desired version. -
You can also start with a clean install of Docusaurus and then restore:
./blogdirectory./docsdirectory./srcdirectory./staticdirectory./.prettierignorefile./.prettier.jsonfile./docusaurus.config.tsfile./sidebars.tsfile./package.json- install package:
remark-deflist - install package:
@fontsource/nunito - modify build script:
"build": "docusaurus build --out-dir ../docs"
- install package: