Skip to content

Commit

Permalink
docs: Use rst-budoux for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
attakei committed Oct 16, 2024
1 parent a264303 commit a590d97
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 1 deletion.
11 changes: 11 additions & 0 deletions demo-ja/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

# -- General configuration
extensions = [
"rst_budoux.sphinx",
"atsphinx.revealjs_rtd",
]
templates_path = ["_templates"]
Expand Down Expand Up @@ -40,3 +41,13 @@
"revealjs/plugin/highlight/zenburn.css",
]
revealjs_notes_from_comments = True

# -- Options for extensions
# rst_budoux.sphinx
budoux_separator = "<wbr>"
budoux_additional_style = """
body {
word-break: keep-all;
overflow-wrap: anywhere;
}
"""
2 changes: 1 addition & 1 deletion demo-ja/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
atsphinx-revealjs-rtd
=====================

Read the Docs 上で管理する sphinx-revealjs製プレゼンテーション
Read the Docs 上で管理するsphinx-revealjs製プレゼンテーション

機能
====
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ dev-dependencies = [
"esbonio",
"furo",
"pytest",
"rst-budoux>=0.1.1",
"sphinx-autobuild",
"sphinx-intl",
]
Expand Down
24 changes: 24 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a590d97

Please sign in to comment.