From 3a8869fe90975077db099c860b5d6555683ef556 Mon Sep 17 00:00:00 2001 From: "Xuan (Sean) Hu" Date: Wed, 28 Feb 2024 18:37:41 +0800 Subject: [PATCH] docs: avoid line too long problem when the project name is long (#341) --- docs/conf.py | 3 ++- template/docs/conf.py.jinja | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 7ab5a3fa..8c27f7d2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,7 +37,8 @@ templates_path = ["_templates"] html_theme_options = { "announcement": ( - "Serious Scaffold Python is in the Alpha phase. " + "Serious Scaffold Python " + "is in the Alpha phase. " "Frequent changes and instability should be anticipated. " "Any feedback, comments, suggestions and contributions are welcome!" ), diff --git a/template/docs/conf.py.jinja b/template/docs/conf.py.jinja index adf2e34d..6520a2d6 100644 --- a/template/docs/conf.py.jinja +++ b/template/docs/conf.py.jinja @@ -37,7 +37,8 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] templates_path = ["_templates"] html_theme_options = { "announcement": ( - "{{ project_name }} is in the {{ development_status }} phase. " + "{{ project_name }} " + "is in the {{ development_status }} phase. " [%- if development_status == "Alpha" %] "Frequent changes and instability should be anticipated. " [%- elif development_status == "Beta" %]