Skip to content

YunchaoYang/NekIBM-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NekIBM-doc

This is the repository of the NekIBM documentation adapted from the original Nek5000 docs written using the Sphinx documentation framework.

How to update

1. Prepare sphinx environment

module load conda
conda activate a_python_env # torch-timm
pip install sphinx
pip install recommonmark # add markdown 
pip install sphinx_rtd_theme

2. modify conf.py

emacs source/conf.py # language = 'en'

3. modify rst files

git add --all
git commit -m "update message"
git push origin master

4. publish on GitHub Pages

To update the GitHub Page, a contributor must have write permissions to the main NekDoc repository. The GitHub Page should not contain any edits that are newer than the master branch of the main repository.

Workflow:

Checkout the latest master run

make gh-pages