citahub / citahub-docs

CITAHub Docs

Home Page:http://docs.citahub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CITAHub Docs

Visit the documentation site: CITAHub Docs

Update documents

  • Add or modify the docs under docs folder.
  • Modify sidebar in sidebars.json

Host Locally

$ cd website
$ yarn install
$ ENABLE_SOURCE_DOCS=true yarn start # use set ENABLE_SOURCE_DOCS to set the environment

Open your brower, and enter the http://localhost:3000/en/next/welcome

Build the documentation site

Initializing the website

$ cd website
$ yarn install

Note

You can also install by npm:

$ npm install

Update Sidebar Titles

$ cd website && yarn run write-translations

Update Latest Docs in Crowdin

Crowdin-CLI Required - Crowdin-CLI

Crowdin Config Required - set project identifier and apikey in crowdin.yaml

  1. Upload latest docs to crowdin
$ yarn run crowdin:upload
  1. Download latest translated docs from crowdin
$ yarn run crowdin:download

Deploy to Github Pages

$ cd website && GIT_USER=<your_git_username> CURRENT_BRANCH=master USE_SSH=true yarn run publish-gh-pages

About

CITAHub Docs

http://docs.citahub.com

License:MIT License


Languages

Language:JavaScript 94.5%Language:CSS 4.7%Language:HTML 0.6%Language:Dockerfile 0.2%