-
-
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.
doc: Write installation and small usage
- Loading branch information
Showing
9 changed files
with
112 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
=========== | ||
Change logs | ||
=========== | ||
|
||
v0.0.0 | ||
====== | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
========== | ||
Changelogs | ||
========== | ||
|
||
.. include:: ../../CHANGES.rst | ||
|
||
.. toctree:: | ||
:glob: | ||
:reversed: | ||
:maxdepth: 1 | ||
:caption: Old changes | ||
|
||
* |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
===== | ||
Usage | ||
===== | ||
|
||
Please read to use ``atsphinx-mini18n`` on your documentation. | ||
|
||
.. warning:: | ||
|
||
This might not work with old Sphinx. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents | ||
|
||
setup |
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,55 @@ | ||
===== | ||
Setup | ||
===== | ||
|
||
To first build, you should runs two step. | ||
|
||
Install | ||
======= | ||
|
||
.. warning:: After publish first version package. | ||
|
||
This is published on PyPI. | ||
You can install by ``pip`` command or your package management tools. | ||
|
||
.. tabs:: | ||
|
||
.. tab:: pip-command | ||
|
||
.. code:: console | ||
pip install atsphinx-mini18n | ||
.. tab:: pyproject.toml | ||
|
||
.. code:: toml | ||
[project] | ||
dependencies = [ | ||
"atsphinx-mini18n", | ||
] | ||
Configuration | ||
============= | ||
|
||
At first, register extension into your ``conf.py`` of documentation. | ||
|
||
.. code-block:: python | ||
:name: conf.py | ||
extensions = [ | ||
"atsphinx.mini18n", | ||
] | ||
First build | ||
=========== | ||
|
||
After setup, documentation has new builder ``i18n-html`` and ``i18n-dirhtml``. | ||
|
||
Please build document by new builders. | ||
|
||
.. code:: console | ||
$ make i18n-html | ||
$ ls _build/i18n-html | ||
index.html en |
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