mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-18 20:59:42 +02:00
Application de documentation gratuite, basé sur l'écosystème Editor.js offrant toutes les opportunités modernes pour travailler avec du contenu.
https://codex.so
* Added uri property to Page model * Added aliases collection * Added routing form aliases * Fixed redirect after page creation * Added abiltity to support few pages with same title * Added ability to change uri manually * Changed hash function * Changed uri parsing * Removed pages controller promise * Modified page's tests * Added tests for alias model * Added tests for aliases * Escaping special characters * Added missed files * Fixed bugs related to translation * Fixed parent page link * Added server validation for uri * Changed css properties order * Made uri property of page be optional * Prevented alias creation from empty uri * Moved alias types to model |
||
---|---|---|
bin | ||
config | ||
public/dist | ||
src | ||
test | ||
.codexdocsrc | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.nvmrc | ||
nodemon.json | ||
package.json | ||
README.md | ||
webpack.config.js | ||
yarn.lock |
Set up the environment
Install node version manager and required version of node js
$ chmod u+x ./bin/nvm.sh && ./bin/nvm.sh
$ nvm install
For windows use nvm for windows
Install Yarn package manager
$ brew install yarn --without-node
Use
--without-node
flag because nvm version of Node is used
Or download it directly from the website
Install npm packages
$ yarn install --frozen-lockfile
Available scripts
Start the server
$ yarn start
Run ESLint with --fix
option
$ yarn lint
Run tests
$ yarn test