Skip to content

Commit

Permalink
Merge pull request #32 from ijnek/ijnek-use-requirements-txt
Browse files Browse the repository at this point in the history
improve installation instructions by using requirements.txt
  • Loading branch information
jayenashar committed Dec 15, 2022
2 parents a7e90e8 + ffa6fc9 commit bb5e8b7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@
Repository for maintaining the Sphinx Documentation for rUNSWift.

## Installing Dependencies
`sudo apt install python3-sphinx-rtd-theme`

```
pip3 install -r requirements.txt
```

## Compiling
To compile locally, run `make html`.
To compile locally, run `make html`.
The home documentation page can be opened by opening `build/html/index.html` in a browser.

## RTD
The instructions for setting up the webhook for readthedocs is [here](https://docs.readthedocs.io/en/stable/webhooks.html#webhook-creation). For access to the project on readthedocs, [contact us](https://runswift.readthedocs.io/en/latest/contact.html).

## Editing Flowcharts (with draw.io)
`source/draw.io/` contains **.png (with embedded XML)** that can be imported/exported by draw.io.
To modify a diagram,
To modify a diagram,
1. import the png file into draw.io
2. make ammendments
3. overwrite png file by exporting from draw.io
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sphinx
sphinx-copybutton
sphinx-rtd-theme
5 changes: 4 additions & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinx.ext.githubpages']
extensions = [
'sphinx_copybutton'
'sphinx.ext.githubpages',
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down

0 comments on commit bb5e8b7

Please sign in to comment.