Skip to content

OPM/opm-python-documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Repository to host the Python documentation for OPM Flow

Reading the documentation online

The documentation of the current master can found here

Building the documentation locally

Follow the commands in .github/workflows/python_sphinx_docs.yml for your local setup!

See also the script opmdoc-download-files for more information.

Building the documentation online on your fork

  • Turn on github actions at https://github.com/<your-github-username>/opm-python-documentation/actions
  • Add the docstrings_common.json and docstrings_simulators.json file you want to test to the python folder
  • Push any changes to a branch of your fork, this should trigger a build of the documentation, where the built documentation is pushed to the branch gh-pages-<name-of-your-branch>
  • Then you can turn on github pages for your fork at https://github.com/<your-github-username>/opm-python-documentation/settings/pages
  • Select the branch gh-pages-<name-of-your-branch> as the source for your github page
  • Then you can have a look at the documentation with your changes at https://<your-github-username>.github.io/opm-python-documentation/<name-of-your-branch>/index.html
  • If everything looks fine, create a pull request for the master branch of this repository :)

About

Repository to host the opm-python-documentation online

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5