Skip to content

Commit

Permalink
[docs] Updated base url for readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Jun 30, 2021
1 parent 3b67f29 commit 61a4493
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ For example, to save messages from a livestream to a JSON file, you can use:
For a description of these options, as well as advanced command line use-cases and examples, consult the `Command Line Usage <https://chat-downloader.readthedocs.io/en/docs/cli.html#command-line-usage>`_ page.
For a description of these options, as well as advanced command line use-cases and examples, consult the `Command Line Usage <https://chat-downloader.readthedocs.io/en/latest/cli.html#command-line-usage>`_ page.


Python
Expand All @@ -108,7 +108,7 @@ Python
chat.print_formatted(message) # print the formatted message
For advanced python use-cases and examples, consult the `Python Documentation <https://chat-downloader.readthedocs.io/en/docs/source/index.html#python-documentation>`_.
For advanced python use-cases and examples, consult the `Python Documentation <https://chat-downloader.readthedocs.io/en/latest/source/index.html#python-documentation>`_.


##########
Expand Down Expand Up @@ -141,7 +141,7 @@ Chat items/messages are parsed into JSON objects (a.k.a. dictionaries) and shoul
}
For an extensive, documented list of included fields, consult the `Chat Item Fields <https://chat-downloader.readthedocs.io/en/docs/items.html#chat-item-fields>`_ page.
For an extensive, documented list of included fields, consult the `Chat Item Fields <https://chat-downloader.readthedocs.io/en/latest/items.html#chat-item-fields>`_ page.

##########################
Frequently Asked Questions
Expand All @@ -165,7 +165,7 @@ Contributing
############

If you would like to help improve the tool, you'll find more
information on contributing in our `Contributing Guide <https://chat-downloader.readthedocs.io/en/docs/contributing.html#contributing-guide>`_.
information on contributing in our `Contributing Guide <https://chat-downloader.readthedocs.io/en/latest/contributing.html#contributing-guide>`_.


################
Expand Down
2 changes: 1 addition & 1 deletion docs/generate_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def replace_cmd_output(match):
relative_link_dict = {name: link for link, name in re.findall(relative_link_regex, readme_html)}

BASE_READTHEDOCS_URL = 'https://chat-downloader.readthedocs.io/en/latest/'
BASE_READTHEDOCS_URL = 'https://chat-downloader.readthedocs.io/en/docs/' # Testing
# BASE_READTHEDOCS_URL = 'https://chat-downloader.readthedocs.io/en/docs/' # Testing


reference_regex = r':ref:`(.*)`'
Expand Down

0 comments on commit 61a4493

Please sign in to comment.