Skip to content

Commit

Permalink
Drop templates with legal references and logo injection.
Browse files Browse the repository at this point in the history
Use Sphinx logo variable instead.
  • Loading branch information
reznikmm committed Sep 17, 2024
1 parent e932d92 commit 3e258cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/publish-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Drop templates and index.rst
run: rm -v sphinx/_templates/* ../content/index.rst
- name: Run Webpack & Sphinx production
run: make cleanall webpack-production sphinx-production
# - name: Run SPHINX content tests
Expand Down
8 changes: 7 additions & 1 deletion frontend/sphinx/conf_patch_ukr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

exclude_patterns += [
'about.rst',
'./index.rst',
'**/README.md'
]

Expand All @@ -24,8 +23,15 @@

blog_post_pattern = ["posts/*.md"]

copyright = u'2023 – 2024, Ada Ukraine. All rights reserved. CC BY 4.0 License.'

html_logo = "img/logo_ukr.svg"

html_theme_options = {
'logo_only': True,
'display_version': False,
}

language = 'uk'

myst_update_mathjax = False # ablog docs sets this
Expand Down

0 comments on commit 3e258cf

Please sign in to comment.