GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Documentation Improvements (#3010, #3007, #3012, #3067, #3081, #3082) · MSutt/python-telegram-bot@11007c1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github
    • CONTRIBUTING.rst
    • workflows
      • docs-linkcheck.yml
      • docs.yml
  • .readthedocs.yml
  • CHANGES.rst
  • CODE_OF_CONDUCT.rst
  • README.rst
  • README_RAW.rst
  • docs
    • requirements-docs.txt
    • source
      • conf.py
      • telegram.ext.rst
      • telegram.rst
  • examples
    • README.md
    • inlinebot.py
  • setup.py
  • telegram
    • _bot.py
    • _callbackquery.py
    • _chat.py
    • _chatmember.py
    • _chatmemberupdated.py
    • _files
      • venue.py
    • _inline
      • inlinekeyboardbutton.py
      • inlinequeryresultvenue.py
      • inputvenuemessagecontent.py
    • _message.py
    • ext
      • _application.py
      • _applicationbuilder.py
      • _basepersistence.py
      • _callbackqueryhandler.py
      • _commandhandler.py
      • _defaults.py
      • _dictpersistence.py
      • _jobqueue.py
      • _picklepersistence.py
      • _updater.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/CONTRIBUTING.rst‎

Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.rst
+8-8Lines changed: 8 additions & 8 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -263,19 +263,19 @@ break the API classes. For example:
263263
self.last_name = last_name
264264
265265
266-
.. _`Code of Conduct`: https://www.python.org/psf/codeofconduct/
266+
.. _`Code of Conduct`: https://www.python.org/psf/conduct/
267267
.. _`issue tracker`: https://github.com/python-telegram-bot/python-telegram-bot/issues
268268
.. _`Telegram group`: https://telegram.me/pythontelegrambotgroup
269-
.. _`PEP 8 Style Guide`: https://www.python.org/dev/peps/pep-0008/
270-
.. _`sphinx`: http://sphinx-doc.org
271-
.. _`Google Python Style Guide`: http://google.github.io/styleguide/pyguide.html
269+
.. _`PEP 8 Style Guide`: https://peps.python.org/pep-0008/
270+
.. _`sphinx`: https://www.sphinx-doc.org/en/master
271+
.. _`Google Python Style Guide`: https://google.github.io/styleguide/pyguide.html
272272
.. _`Google Python Style Docstrings`: https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html
273-
.. _AUTHORS.rst: ../AUTHORS.rst
273+
.. _AUTHORS.rst: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/AUTHORS.rst
274274
.. _`MyPy`: https://mypy.readthedocs.io/en/stable/index.html
275275
.. _`here`: https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html
276276
.. _`Black`: https://black.readthedocs.io/en/stable/index.html
277-
.. _`popular editors`: https://black.readthedocs.io/en/stable/editor_integration.html
278-
.. _`RTD`: https://python-telegram-bot.readthedocs.io/
279-
.. _`RTD build`: https://python-telegram-bot.readthedocs.io/en/doc-fixes
277+
.. _`popular editors`: https://black.readthedocs.io/en/stable/integrations/editors.html
278+
.. _`RTD`: https://docs.python-telegram-bot.org/
279+
.. _`RTD build`: https://docs.python-telegram-bot.org/en/doc-fixes
280280
.. _`CSI`: https://standards.mousepawmedia.com/en/stable/csi.html
281281
.. _`section`: #documenting
Collapse file

‎.github/workflows/docs-linkcheck.yml‎

Copy file name to clipboard
+29Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Check Links in Documentation
2+
on:
3+
schedule:
4+
# First day of month at 05:46 in every 2nd month
5+
- cron: '46 5 1 */2 *'
6+
7+
jobs:
8+
test-sphinx-build:
9+
name: test-sphinx-linkcheck
10+
runs-on: ${{matrix.os}}
11+
strategy:
12+
matrix:
13+
python-version: [3.7]
14+
os: [ubuntu-latest]
15+
fail-fast: False
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v3
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
python -W ignore -m pip install --upgrade pip
25+
python -W ignore -m pip install -r requirements.txt
26+
python -W ignore -m pip install -r requirements-dev.txt
27+
python -W ignore -m pip install -r docs/requirements-docs.txt
28+
- name: Check Links
29+
run: sphinx-build docs/source docs/build/html -W --keep-going -j auto -b linkcheck
Collapse file

‎.github/workflows/docs.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/docs.yml
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ on:
33
pull_request:
44
branches:
55
- master
6-
- v14
76
- doc-fixes
87
push:
98
branches:
109
- master
11-
- v14
1210
- doc-fixes
1311

1412
jobs:
@@ -22,9 +20,6 @@ jobs:
2220
fail-fast: False
2321
steps:
2422
- uses: actions/checkout@v3
25-
- name: Initialize vendored libs
26-
run:
27-
git submodule update --init --recursive
2823
- name: Set up Python ${{ matrix.python-version }}
2924
uses: actions/setup-python@v3
3025
with:
Collapse file

‎.readthedocs.yml‎

Copy file name to clipboardExpand all lines: .readthedocs.yml
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ formats:
1515

1616
# Optionally set the version of Python and requirements required to build your docs
1717
python:
18-
version: 3
1918
install:
2019
- method: pip
2120
path: .
2221
- requirements: docs/requirements-docs.txt
22+
23+
build:
24+
os: ubuntu-20.04
25+
tools:
26+
python: "3" # latest stable cpython version
Collapse file

‎CHANGES.rst‎

Copy file name to clipboardExpand all lines: CHANGES.rst
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ New Features:
7272
by `DonalDuck004 <https://github.com/DonalDuck004>`__)
7373
- Add Method ``drop_chat/user_data`` to ``Dispatcher`` and Persistence
7474
(`#2852 <https://github.com/python-telegram-bot/python-telegram-bot/pull/2852>`__)
75-
- Add methods ``ChatPermissions.{all, no}_permissions`` ([#2948]
75+
- Add methods ``ChatPermissions.{all, no}_permissions`` (`#2948 <https://github.com/python-telegram-bot/python-telegram-bot/pull/2948>`__)
7676
- Full Support for API 6.0
77-
(`#2956 <https://github.com/python-telegram-bot/python-telegram-bot/pull/2956>`__)(https://github.com/python-telegram-bot/python-telegram-bot/pull/2948))
77+
(`#2956 <https://github.com/python-telegram-bot/python-telegram-bot/pull/2956>`__)
7878
- Add Python 3.10 to Test Suite
7979
(`#2968 <https://github.com/python-telegram-bot/python-telegram-bot/pull/2968>`__)
8080

@@ -1520,7 +1520,7 @@ Changes
15201520
- Lots of small improvements to our tests and documentation.
15211521

15221522

1523-
.. _`see docs`: http://python-telegram-bot.readthedocs.io/en/stable/telegram.ext.dispatcher.html#telegram.ext.Dispatcher.add_handler
1523+
.. _`see docs`: https://docs.python-telegram-bot.org/en/stable/telegram.ext.dispatcher.html#telegram.ext.Dispatcher.add_handler
15241524
.. _`#777`: https://github.com/python-telegram-bot/python-telegram-bot/pull/777
15251525
.. _`#806`: https://github.com/python-telegram-bot/python-telegram-bot/pull/806
15261526
.. _`#766`: https://github.com/python-telegram-bot/python-telegram-bot/pull/766
@@ -1762,7 +1762,7 @@ Pre-version 7.0
17621762

17631763
- Implement Bot API 2.0
17641764
- Almost complete recode of ``Dispatcher``
1765-
- Please read the `Transistion Guide to 4.0 <https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transistion-guide-to-Version-4.0>`_
1765+
- Please read the `Transistion Guide to 4.0 <https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transition-guide-to-Version-4.0>`_
17661766

17671767
**2016-03-22**
17681768

Collapse file

‎CODE_OF_CONDUCT.rst‎

Copy file name to clipboardExpand all lines: CODE_OF_CONDUCT.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ Project maintainers who do not follow or enforce the Code of Conduct in good fai
4949
Attribution
5050
===========
5151

52-
This Code of Conduct is adapted from the `Contributor Covenant <http://contributor-covenant.org>`_, version 1.4, available at `http://contributor-covenant.org/version/1/4 <http://contributor-covenant.org/version/1/4/>`_.
52+
This Code of Conduct is adapted from the `Contributor Covenant <https://www.contributor-covenant.org>`_, version 1.4, available at `https://www.contributor-covenant.org/version/1/4 <https://www.contributor-covenant.org/version/1/4/>`_.
Collapse file

‎README.rst‎

Copy file name to clipboardExpand all lines: README.rst
+9-9Lines changed: 9 additions & 9 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
..
22
Make sure to apply any changes to this file to README_RAW.rst as well!
33
4-
.. image:: https://github.com/python-telegram-bot/logos/blob/master/logo-text/png/ptb-logo-text_768.png?raw=true
4+
.. image:: https://raw.githubusercontent.com/python-telegram-bot/logos/master/logo-text/png/ptb-logo-text_768.png
55
:align: center
66
:target: https://python-telegram-bot.org
77
:alt: python-telegram-bot Logo
@@ -23,7 +23,7 @@
2323
:alt: PyPi Package Monthly Download
2424

2525
.. image:: https://readthedocs.org/projects/python-telegram-bot/badge/?version=stable
26-
:target: https://python-telegram-bot.readthedocs.io/en/stable/
26+
:target: https://docs.python-telegram-bot.org/en/stable/
2727
:alt: Documentation Status
2828

2929
.. image:: https://img.shields.io/pypi/l/python-telegram-bot.svg
@@ -34,16 +34,16 @@
3434
:target: https://github.com/python-telegram-bot/python-telegram-bot/
3535
:alt: Github Actions workflow
3636

37-
.. image:: https://codecov.io/gh/python-telegram-bot/python-telegram-bot/branch/master/graph/badge.svg
38-
:target: https://codecov.io/gh/python-telegram-bot/python-telegram-bot
37+
.. image:: https://app.codecov.io/gh/python-telegram-bot/python-telegram-bot/branch/master/graph/badge.svg
38+
:target: https://app.codecov.io/gh/python-telegram-bot/python-telegram-bot
3939
:alt: Code coverage
4040

41-
.. image:: http://isitmaintained.com/badge/resolution/python-telegram-bot/python-telegram-bot.svg
42-
:target: http://isitmaintained.com/project/python-telegram-bot/python-telegram-bot
41+
.. image:: https://isitmaintained.com/badge/resolution/python-telegram-bot/python-telegram-bot.svg
42+
:target: https://isitmaintained.com/project/python-telegram-bot/python-telegram-bot
4343
:alt: Median time to resolve an issue
4444

4545
.. image:: https://api.codacy.com/project/badge/Grade/99d901eaa09b44b4819aec05c330c968
46-
:target: https://www.codacy.com/app/python-telegram-bot/python-telegram-bot?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=python-telegram-bot/python-telegram-bot&amp;utm_campaign=Badge_Grade
46+
:target: https://app.codacy.com/gh/python-telegram-bot/python-telegram-bot/dashboard
4747
:alt: Code quality: Codacy
4848

4949
.. image:: https://deepsource.io/gh/python-telegram-bot/python-telegram-bot.svg/?label=active+issues
@@ -136,7 +136,7 @@ Optional Dependencies
136136

137137
PTB can be installed with optional dependencies:
138138

139-
* ``pip install python-telegram-bot[passport]`` installs the `cryptography>=3.0 <https://cryptography.io>`_ library. Use this, if you want to use Telegram Passport related functionality.
139+
* ``pip install python-telegram-bot[passport]`` installs the `cryptography>=3.0 <https://cryptography.io/en/stable>`_ library. Use this, if you want to use Telegram Passport related functionality.
140140
* ``pip install python-telegram-bot[socks]`` installs ``httpx[socks]``. Use this, if you want to work behind a Socks5 server.
141141

142142
Quick Start
@@ -148,7 +148,7 @@ Moreover, the `Tutorial: Your first Bot <https://github.com/python-telegram-bot/
148148
Resources
149149
=========
150150

151-
- The `package documentation <https://python-telegram-bot.readthedocs.io/>`_ is the technical reference for ``python-telegram-bot``.
151+
- The `package documentation <https://docs.python-telegram-bot.org/>`_ is the technical reference for ``python-telegram-bot``.
152152
It contains descriptions of all available classes, modules, methods and arguments.
153153
- The `wiki <https://github.com/python-telegram-bot/python-telegram-bot/wiki/>`_ is home to number of more elaborate introductions of the different features of ``python-telegram-bot`` and other useful resources that go beyond the technical documentation.
154154
- Our `examples directory <https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/README.md>`_ contains several examples that showcase the different features of both the Bot API and ``python-telegram-bot``.
Collapse file

‎README_RAW.rst‎

Copy file name to clipboardExpand all lines: README_RAW.rst
+8-8Lines changed: 8 additions & 8 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
:alt: PyPi Package Monthly Download
2424

2525
.. image:: https://readthedocs.org/projects/python-telegram-bot/badge/?version=stable
26-
:target: https://python-telegram-bot.readthedocs.io/
26+
:target: https://docs.python-telegram-bot.org/
2727
:alt: Documentation Status
2828

2929
.. image:: https://img.shields.io/pypi/l/python-telegram-bot-raw.svg
@@ -34,16 +34,16 @@
3434
:target: https://github.com/python-telegram-bot/python-telegram-bot/
3535
:alt: Github Actions workflow
3636

37-
.. image:: https://codecov.io/gh/python-telegram-bot/python-telegram-bot/branch/master/graph/badge.svg
38-
:target: https://codecov.io/gh/python-telegram-bot/python-telegram-bot
37+
.. image:: https://app.codecov.io/gh/python-telegram-bot/python-telegram-bot/branch/master/graph/badge.svg
38+
:target: https://app.codecov.io/gh/python-telegram-bot/python-telegram-bot
3939
:alt: Code coverage
4040

41-
.. image:: http://isitmaintained.com/badge/resolution/python-telegram-bot/python-telegram-bot.svg
42-
:target: http://isitmaintained.com/project/python-telegram-bot/python-telegram-bot
41+
.. image:: https://isitmaintained.com/badge/resolution/python-telegram-bot/python-telegram-bot.svg
42+
:target: https://isitmaintained.com/project/python-telegram-bot/python-telegram-bot
4343
:alt: Median time to resolve an issue
4444

4545
.. image:: https://api.codacy.com/project/badge/Grade/99d901eaa09b44b4819aec05c330c968
46-
:target: https://www.codacy.com/app/python-telegram-bot/python-telegram-bot?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=python-telegram-bot/python-telegram-bot&amp;utm_campaign=Badge_Grade
46+
:target: https://app.codacy.com/gh/python-telegram-bot/python-telegram-bot/dashboard
4747
:alt: Code quality: Codacy
4848

4949
.. image:: https://deepsource.io/gh/python-telegram-bot/python-telegram-bot.svg/?label=active+issues
@@ -134,7 +134,7 @@ Optional Dependencies
134134

135135
``python-telegram-bot-raw`` can be installed with optional dependencies:
136136

137-
* ``pip install python-telegram-bot[passport]`` installs the `cryptography <https://cryptography.io>`_ library. Use this, if you want to use Telegram Passport related functionality.
137+
* ``pip install python-telegram-bot[passport]`` installs the `cryptography <https://cryptography.io/en/stable>`_ library. Use this, if you want to use Telegram Passport related functionality.
138138
* ``pip install python-telegram-bot[socks]`` installs the `PySocks <https://pypi.org/project/PySocks/>`_ library. Use this, if you want to work behind a Socks5 server.
139139

140140
Quick Start
@@ -145,7 +145,7 @@ Our Wiki contains an `Introduction to the API <https://github.com/python-telegra
145145
Resources
146146
=========
147147

148-
- The `package documentation <https://python-telegram-bot.readthedocs.io/>`_ is the technical reference for ``python-telegram-bot``.
148+
- The `package documentation <https://docs.python-telegram-bot.org/>`_ is the technical reference for ``python-telegram-bot``.
149149
It contains descriptions of all available classes, modules, methods and arguments.
150150
- The `wiki <https://github.com/python-telegram-bot/python-telegram-bot/wiki/>`_ is home to number of more elaborate introductions of the different features of ``python-telegram-bot`` and other useful resources that go beyond the technical documentation.
151151
- Our `examples directory <https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/README.md>`_ contains several examples that showcase the different features of both the Bot API and ``python-telegram-bot``.
Collapse file

‎docs/requirements-docs.txt‎

Copy file name to clipboard
+3-6Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
sphinx==4.5.0
1+
sphinx==5.0.1
22
sphinx-pypi-upload
3-
furo==2022.04.07
4-
# Can be replaced with a sphinx-paramlinks==... dependency once a version is released that
5-
# includes the commit mentioned below and maybe even
6-
# https://github.com/sqlalchemyorg/sphinx-paramlinks/pull/14
7-
git+https://github.com/sqlalchemyorg/sphinx-paramlinks.git@acedb03149e3f87ff599174b033754c2f58f1c95
3+
furo==2022.6.4
4+
sphinx-paramlinks==0.5.4

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.