Skip to content

sedos-project/organization

Repository files navigation

Organization and Documentation of the SEDOS project

This repository holds the documentation files of the SEDOS project and is also used for managing organizational issues.

Documenation release

The documentation will be released with a push on the main branch to this website. Wait ~ 2min until you can see changes.

The documentation is automatically deployed by the workflow on the branch gh-pages. In the GitHub-pages settings, this branch has been chosen to be the branch from which the documentation is deployed. The workflow is triggered with a push to main or can be triggered manually in GitHub actions.

How to set up the documentation on your local machine?

  1. Clone this repository

    git clone https://github.com/sedos-project/organization.git

  2. Navigate to the path, in which you stored ../sedos-project/organisation

    cd [USERPATH/sedos-project/organisation]

  3. Create new environment by using pre-defined settings from environment.yml and activate it after successful installation

    conda env create -f environment.yml

    conda activate d_py310_sedos

  4. Modify .md files in organisation/docs or create new .md files by creating a new file and renaming the file extension .md.

  5. Render documentation locally by running mkdocs mkdocs serve and copy url from the INFO message into your browser, e.g.

    INFO - [11:25:42] Serving on http://127.0.0.1:8000/

    Once started, mkdocs shows your local edits live in the browser without further do.

  6. Add all your local changes git add .

  7. Commit your local changes git commit -m 'Extend documentation

  8. Check if other SEDOS members uploaded changes before pushing yours git pull

  9. Push your commits, to share them with the team git push

DEPRECIATED - How to update documentation on sedos-project.github.io/.github/ ?

  1. On your local machine, navigate to ~/.github
  2. On main brachen, run git pull to download latest docs-version and to avoid merge conflicts later
  3. On your local machine, navigate to ~/organization and checkout branch main
  4. Run git pull
  5. In ~/organization, In your local conda environment run mkdocs build -d ../.github (or specify the absolute path to .github)
  6. Navigate to ~/.github and run git add . to add all updated files
  7. Run git commit -am 'Update docs with PR #' and add PR-number from organisation repo to track changes better. If changes were implemented without PR, write helpful commit message. All changes are now saved to one commit.
  8. Run git push to update docs on github pages
  9. Go to sedos-project.github.io/.github/, wait 2 min. for the page to deploy and press CTRL + F5 to reload page ignoring browser cache
  10. You should now see the updated documentation.

About

Organization and Documentation of the SEDOS project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published