Skip to content

Commit fcc3bca

Browse files
committed
📚 update documentation
1 parent dcb3d97 commit fcc3bca

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,16 @@ on:
55
types: [created]
66

77
jobs:
8-
deploy:
8+
pypi-publish:
9+
name: upload release to PyPI
910
runs-on: ubuntu-latest
11+
# Specifying a GitHub environment is optional, but strongly encouraged
12+
environment: pypi
13+
permissions:
14+
# IMPORTANT: this permission is mandatory for trusted publishing
15+
id-token: write
1016
steps:
17+
# retrieve your distributions here
1118
- uses: actions/checkout@v1
1219
- name: Set up Python
1320
uses: actions/setup-python@v1
@@ -16,11 +23,9 @@ jobs:
1623
- name: Install dependencies
1724
run: |
1825
python -m pip install --upgrade pip
19-
pip install setuptools wheel twine
20-
- name: Build and publish
21-
env:
22-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
23-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
26+
pip install setuptools wheel
27+
- name: Build
2428
run: |
2529
python setup.py sdist bdist_wheel
26-
twine upload dist/*
30+
- name: Publish package distributions to PyPI
31+
uses: pypa/gh-action-pypi-publish@release/v1

.moban.d/moban_readme.jj2

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ mó bǎn - 模板 General purpose static text generator
55
.. image:: https://raw.githubusercontent.com/pyexcel/pyexcel.github.io/master/images/patreon.png
66
:target: https://www.patreon.com/chfw
77

8-
.. image:: https://api.travis-ci.org/moremoban/moban.svg?branch=master
9-
:target: http://travis-ci.org/moremoban/moban
10-
118
.. image:: https://dev.azure.com/moremoban/moban/_apis/build/status/moremoban.moban
129
:target: https://dev.azure.com/moremoban/moban/_build?definitionId=1&_a=summary
1310

CONTRIBUTORS.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ In alphabetical order:
77

88
* `Andrew Scheller <https://github.com/lurch>`_
99
* `Ayan Banerjee <https://github.com/ayan-b>`_
10-
* `Charlie Liu <https://github.com/CLiu13>`_
10+
* `CLiu13 <https://github.com/CLiu13>`_
1111
* `John Vandenberg <https://github.com/jayvdb>`_
1212
* `Joshua Chung <https://github.com/seeeturtle>`_
13+
* `Kacper Potyrała <https://github.com/SerekKiri>`_
1314
* `pgajdos <https://github.com/pgajdos>`_
1415
* `PRAJWAL M <https://github.com/PrajwalM2212>`_
1516
* `salotz <https://github.com/salotz>`_
16-
* `SerekKiri <https://github.com/SerekKiri>`_

README.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ mó bǎn - 模板 General purpose static text generator
55
.. image:: https://raw.githubusercontent.com/pyexcel/pyexcel.github.io/master/images/patreon.png
66
:target: https://www.patreon.com/chfw
77

8-
.. image:: https://api.travis-ci.org/moremoban/moban.svg?branch=master
9-
:target: http://travis-ci.org/moremoban/moban
10-
118
.. image:: https://dev.azure.com/moremoban/moban/_apis/build/status/moremoban.moban
129
:target: https://dev.azure.com/moremoban/moban/_build?definitionId=1&_a=summary
1310

docs/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
# The theme to use for HTML and HTML Help pages. See the documentation for
5858
# a list of builtin themes.
5959
#
60-
html_theme = 'alabaster'
60+
html_theme = 'sphinx_rtd_theme'
6161

6262
# Add any paths that contain custom static files (such as style sheets) here,
6363
# relative to this directory. They are copied after the builtin static files,
@@ -68,7 +68,8 @@
6868
# -- Options for intersphinx extension ---------------------------------------
6969

7070
# Example configuration for intersphinx: refer to the Python standard library.
71-
intersphinx_mapping = {'https://docs.python.org/3/': None}
71+
intersphinx_mapping = {'python': ('https://docs.python.org/3',
72+
'python-inv.txt')}
7273
# TODO: html_theme not configurable upstream
7374
html_theme = 'default'
7475

0 commit comments

Comments
 (0)