Skip to content

Commit

Permalink
Merge pull request #129 from aiven/mlatief-init-docs
Browse files Browse the repository at this point in the history
docs: remove version import from conf.py for now
  • Loading branch information
giacomo-alzetta-aiven authored Jul 21, 2023
2 parents c3e5427 + d7b408f commit 43a4449
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,28 @@ jobs:
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b
with:
verbose: true

docs:
runs-on: ubuntu-latest
steps:
- id: checkout-src-docs
uses: actions/checkout@v3
with:
persist-credentials: false
path: pr

- id: checkout-gh-pages
uses: actions/checkout@v3
with:
persist-credentials: false
path: gh-pages
ref: gh-pages

- id: prepare-python
uses: actions/setup-python@v4

- id: prepare-sphinx
run: pip install sphinx==4.5.0 sphinx-rtd-theme==1.0.0

- id: run-sphinx
run: sphinx-build -b html pr/docs gh-pages -E -d $GITHUB_WORKSPACE/.doctree
5 changes: 1 addition & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,16 @@
#
import os
import sys
from rohmu.version import VERSION

sys.path.insert(0, os.path.abspath(".."))


# -- Project information -----------------------------------------------------

project = "Rohmu"
copyright = "2022, Aiven"
author = "Aiven"

# The full version, including alpha/beta/rc tags
release = VERSION
release = "1.1.2"

# -- General configuration ---------------------------------------------------

Expand Down

0 comments on commit 43a4449

Please sign in to comment.