Skip to content

foss-for-synopsys-dwc-arc-processors/documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARC GNU Toolchain Documentation

The documentation is powered by MkDocs Markdown-based generator.

main branch contains the latest documentation updates. After the release a separate branch must be created for it. Thus, main always contains the latest updates and a release branch (for example, 2023.09) contains only a cutoff for a particular release.

Prepare Build Environment

Create a Python virtual environment, install dependencies and activate the environment:

python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt

MkDocs Commands

Command Description
mkdocs build Build the documentation. Generated pages are stored in site subdirectory.
mkdocs serve Start HTTP-server for the documentation and serve it on http://127.0.0.1:8000.

Deploying the Documentation

Mike utility is used for deploying the documentation. It allows to deploy different version of the documentation at the same time.

Use mike deploy command to build and commit the documentation from the current branch to gh-pages branch:

mike deploy 2023.09

If you are ready to push it to the remote repository, then also use --push command:

mike deploy --push 2023.09

List all deployed documentation versions:

$ mike list
2023.09 [latest]

Set the default version:

mike set-default 2023.09

Useful Resources