Skip to content

Commit

Permalink
[docs] Development to dev
Browse files Browse the repository at this point in the history
  • Loading branch information
haiiliin committed Aug 27, 2024
1 parent 6769753 commit 5f7f069
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
echo "publish=pr-${{ github.event.pull_request.number }}" >> $GITHUB_OUTPUT
elif [ "${{ github.event_name }}" = "push" ]; then
echo "branch=${{ github.ref_name }}" >> $GITHUB_OUTPUT
echo "publish=development" >> $GITHUB_OUTPUT
echo "publish=dev" >> $GITHUB_OUTPUT
else
echo "branch=${{ github.ref_name }}" >> $GITHUB_OUTPUT
echo "publish=${{ github.ref_name }}" >> $GITHUB_OUTPUT
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
release = abqpy.__version__
rel = Version(release)
version, major = rel.base_version, rel.major
branch = major if not rel.is_prerelease else "development"
branch = major if not rel.is_prerelease else "dev"

sys.path.insert(0, os.path.abspath("../../src"))
sys.path.insert(0, os.path.abspath("./_ext"))
Expand Down Expand Up @@ -220,7 +220,7 @@
# further. For a list of options available for each theme, see the
# documentation.
READTHEDOCS = "READTHEDOCS" in os.environ
versions = ["development"] + [str(v) for v in range(2024, 2015, -1)]
versions = ["dev"] + [str(v) for v in range(2024, 2015, -1)]
with open(os.path.join(os.path.dirname(__file__), "locale", "edit-urls.json")) as f:
edit_urls = json.load(f)
html_theme_options = {
Expand Down

0 comments on commit 5f7f069

Please sign in to comment.