-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
189 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,49 @@ | ||
# noqa: D100 | ||
|
||
import os | ||
|
||
import dotenv | ||
from atsphinx.mini18n import get_template_dir | ||
|
||
dotenv.load_dotenv() | ||
|
||
# -- Project information | ||
project = "atsphinx" | ||
copyright = "2023, Kazuya Takei" | ||
author = "Kazuya Takei" | ||
release = "2023.5.1" | ||
version = release | ||
|
||
# -- General configuration | ||
extensions = [] | ||
extensions = [ | ||
"atsphinx.color_text", | ||
"atsphinx.mini18n", | ||
"sphinx.ext.todo", | ||
"sphinx.ext.githubpages", | ||
"sphinx_design", | ||
] | ||
templates_path = ["_templates"] | ||
templates_path = ["_templates", get_template_dir()] | ||
exclude_patterns = [] | ||
|
||
# For i18n | ||
language = "en" | ||
locale_dirs = ["../locales"] | ||
gettext_compact = False | ||
gettext_language_team = "Kazuya Takei <[email protected]>" | ||
gettext_last_translator = os.environ.get("SPHINXINTL_TRANSLATOR", None) | ||
|
||
# -- Options for HTML output | ||
html_theme = "pydata_sphinx_theme" | ||
html_static_path = ["_static"] | ||
html_css_files = ["css/custom.css"] | ||
html_title = project | ||
html_permalinks = False | ||
html_theme_options = { | ||
"navbar_end": [ | ||
"navbar-icon-links", | ||
"mini18n/snippets/select-lang", | ||
], | ||
"article_footer_items": [], | ||
"icon_links": [ | ||
{ | ||
|
@@ -37,3 +58,7 @@ | |
# -- Options for extensions | ||
# sphinx.ext.todo | ||
todo_include_todos = True | ||
|
||
# atsphinx.mini18n | ||
mini18n_default_language = "en" | ||
mini18n_support_languages = ["en", "ja"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) 2023, Kazuya Takei | ||
# This file is distributed under the same license as the atsphinx package. | ||
# Kazuya Takei <[email protected]>, 2024. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: atsphinx 2023.5.1\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-03-25 01:39+0900\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: Kazuya Takei <[email protected]>\n" | ||
"Language: ja\n" | ||
"Language-Team: Kazuya Takei <[email protected]>\n" | ||
"Plural-Forms: nplurals=1; plural=0;\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Babel 2.14.0\n" | ||
|
||
#: ../../contents/contributing.rst:3 | ||
msgid "Contributing for projects" | ||
msgstr "" | ||
|
||
#: ../../contents/contributing.rst:5 | ||
msgid "This is guideline to contribute for ``atsphinx`` packages." | ||
msgstr "このページは、 ``atsphinx`` シリーズのパッケージへのコントリビューションのための案内です。" | ||
|
||
#: ../../contents/contributing.rst:7 | ||
msgid "Todo" | ||
msgstr "" | ||
|
||
#: ../../contents/contributing.rst:7 | ||
msgid "This is empty content." | ||
msgstr "" | ||
|
||
#: ../../contents/contributing.rst:9 | ||
msgid "Add document" | ||
msgstr "" | ||
|
||
#: ../../contents/contributing.rst:10 | ||
msgid "Link from current packages' documentation" | ||
msgstr "" | ||
|
||
#: ../../contents/contributing.rst:11 | ||
msgid "Configure into cookiecutter" | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) 2023, Kazuya Takei | ||
# This file is distributed under the same license as the atsphinx package. | ||
# Kazuya Takei <[email protected]>, 2024. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: atsphinx 2023.5.1\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-03-25 01:39+0900\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: Kazuya Takei <[email protected]>\n" | ||
"Language: ja\n" | ||
"Language-Team: Kazuya Takei <[email protected]>\n" | ||
"Plural-Forms: nplurals=1; plural=0;\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Babel 2.14.0\n" | ||
|
||
#: ../../contents/index.rst:5 | ||
msgid "Contributing" | ||
msgstr "" | ||
|
||
#: ../../contents/index.rst:3 | ||
msgid "atsphinx project" | ||
msgstr "atsphinxプロジェクト" | ||
|
||
#: ../../contents/index.rst:10 | ||
msgid "" | ||
"**atsphinx** is attakei's Sphinx extension collection and personal " | ||
"namespace of PyPI." | ||
msgstr "**atsphinx** は @attakei が開発しているSphinx拡張のコレクションの総称で、名前空間です。" | ||
|
||
#: ../../contents/index.rst:13 | ||
msgid "Featured packages" | ||
msgstr "主なパッケージ" | ||
|
||
#: ../../contents/index.rst:17 | ||
msgid "Footnotes" | ||
msgstr "" | ||
|
||
#: ../../contents/index.rst:19 | ||
msgid "Collect all footnotes in document and display to **foot** of doc." | ||
msgstr "ドキュメント内にある脚注構文を集約して、「文末」に表示させるようにします。" | ||
|
||
#: ../../contents/index.rst:21 | ||
msgid "OG Article" | ||
msgstr "" | ||
|
||
#: ../../contents/index.rst:23 | ||
msgid "Render ``article:*`` metatags." | ||
msgstr "OGPの ``article:*`` メタ情報を出力します。" | ||
|
||
#: ../../contents/index.rst:25 | ||
msgid "Feed" | ||
msgstr "" | ||
|
||
#: ../../contents/index.rst:27 | ||
msgid "" | ||
"Generate Atom feed from ``og-article`` directrive of ``atsphinx-og-" | ||
"article``." | ||
msgstr "``atsphinx-og-article`` で用いる ``og-article`` ディレクティブを参照してAtomフィードを生成します。" | ||
|
||
#: ../../contents/index.rst:29 | ||
msgid "Highlight.js" | ||
msgstr "" | ||
|
||
#: ../../contents/index.rst:31 | ||
msgid "Syntax highlighting by Highlight.js instead of Pygments." | ||
msgstr "Highlight.jsを利用したコードシンタックスハイライト。" | ||
|
||
#: ../../contents/index.rst:33 | ||
msgid "SQLite3 FTS" | ||
msgstr "" | ||
|
||
#: ../../contents/index.rst:35 | ||
msgid "Extra search using SQLite3 FTS and SQL.js." | ||
msgstr "SQLite3とSQL.jsを利用した、新しいドキュメント検索を提供します。" | ||
|
||
#: ../../contents/index.rst:37 | ||
msgid "Color text" | ||
msgstr "" | ||
|
||
#: ../../contents/index.rst:39 | ||
msgid "Write :color:red:`color text` by role." | ||
msgstr "ロールを用いた :color:red:`色付き文字` の出力。" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters