Skip to content

Commit

Permalink
feat: add page header to explicit page was generated automatically.
Browse files Browse the repository at this point in the history
  • Loading branch information
senges committed Dec 5, 2024
1 parent 98e3c10 commit caa7e32
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ license-files = []

[tool.setuptools.package-data]
tovald = [
"static/*", "static/.*",
"assets/*", "assets/.*",
"static/*",
"assets/templates/*.tpl",
]

[tool.uv]
Expand Down
Empty file removed tovald/assets/.gitkeep
Empty file.
4 changes: 4 additions & 0 deletions tovald/assets/templates/header.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div style="color: #707070; font-size: 12px;">
This page was generated automatically.
</div>
<hr/>
2 changes: 2 additions & 0 deletions tovald/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
confluence_space_key = os.environ.get("CONFLUENCE_SPACE_KEY")
confluence_parent_page = os.environ.get("CONFLUENCE_PARENT_PAGE")
confluence_publish_token = os.environ.get("CONFLUENCE_PAT")

confluence_header_file = "assets/templates/header.tpl"

0 comments on commit caa7e32

Please sign in to comment.