Skip to content

Commit

Permalink
docs: avoid line too long problem when the project name is long (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
huxuan committed Feb 28, 2024
1 parent 69957a4 commit 3a8869f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/conf.py
Expand Up @@ -37,7 +37,8 @@
templates_path = ["_templates"]
html_theme_options = {
"announcement": (
"<em>Serious Scaffold Python</em> is in the <strong>Alpha</strong> phase. "
"<em>Serious Scaffold Python</em> "
"is in the <strong>Alpha</strong> phase. "
"Frequent changes and instability should be anticipated. "
"Any feedback, comments, suggestions and contributions are welcome!"
),
Expand Down
3 changes: 2 additions & 1 deletion template/docs/conf.py.jinja
Expand Up @@ -37,7 +37,8 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
templates_path = ["_templates"]
html_theme_options = {
"announcement": (
"<em>{{ project_name }}</em> is in the <strong>{{ development_status }}</strong> phase. "
"<em>{{ project_name }}</em> "
"is in the <strong>{{ development_status }}</strong> phase. "
[%- if development_status == "Alpha" %]
"Frequent changes and instability should be anticipated. "
[%- elif development_status == "Beta" %]
Expand Down

0 comments on commit 3a8869f

Please sign in to comment.