Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create substitution for hyper links #178

Open
winksaville opened this issue Oct 5, 2020 · 0 comments
Open

Create substitution for hyper links #178

winksaville opened this issue Oct 5, 2020 · 0 comments

Comments

@winksaville
Copy link

I'd like to be able to be able to make a substitution in an external hyperlink.
For example I'd like to be able to create a link to a specific version of a file:

So I would put the following in conf.py with the "normal" changes for sphinx-substitution-extensions:

rst_prolog = f".. |ver| replace:: {version}"

And then add the following to my .rst file:

Download the tarball_

.. _tarball: https://github.com/winksaville/py-taperable-helix/releases/v|ver|.tar.gz

And what I'd like is to see the "version" in the link:

Download the tarball_

.. _tarball guide: https://github.com/winksaville/py-taperable-helix/releases/v0.8.5.tar.gz
kaxil added a commit to astronomer/airflow that referenced this issue Sep 12, 2021
potiuk pushed a commit to apache/airflow that referenced this issue Sep 12, 2021
kaxil added a commit to apache/airflow that referenced this issue Sep 15, 2021
- Follows first point of https://infra.apache.org/release-download-pages.html#download-page to use `https://www.apache.org/dyn/closer.lua/PROJECT/VERSION/SOURCE-RELEASE` for mirrors
- Fixes bug as the current version substitution does not work for Hyperlinks (open PR: adamtheturtle/sphinx-substitution-extensions#178)

(cherry picked from commit 9d05b32)
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Nov 27, 2021
- Follows first point of https://infra.apache.org/release-download-pages.html#download-page to use `https://www.apache.org/dyn/closer.lua/PROJECT/VERSION/SOURCE-RELEASE` for mirrors
- Fixes bug as the current version substitution does not work for Hyperlinks (open PR: adamtheturtle/sphinx-substitution-extensions#178)

(cherry picked from commit 9d05b32de593d2d553cfc567e092941b3d30a8a7)

GitOrigin-RevId: 84f8b99de374edc58f4320d671540a096d8a2bd0
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Mar 10, 2022
- Follows first point of https://infra.apache.org/release-download-pages.html#download-page to use `https://www.apache.org/dyn/closer.lua/PROJECT/VERSION/SOURCE-RELEASE` for mirrors
- Fixes bug as the current version substitution does not work for Hyperlinks (open PR: adamtheturtle/sphinx-substitution-extensions#178)

GitOrigin-RevId: 9d05b32de593d2d553cfc567e092941b3d30a8a7
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 4, 2022
- Follows first point of https://infra.apache.org/release-download-pages.html#download-page to use `https://www.apache.org/dyn/closer.lua/PROJECT/VERSION/SOURCE-RELEASE` for mirrors
- Fixes bug as the current version substitution does not work for Hyperlinks (open PR: adamtheturtle/sphinx-substitution-extensions#178)

GitOrigin-RevId: 9d05b32de593d2d553cfc567e092941b3d30a8a7
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jul 10, 2022
- Follows first point of https://infra.apache.org/release-download-pages.html#download-page to use `https://www.apache.org/dyn/closer.lua/PROJECT/VERSION/SOURCE-RELEASE` for mirrors
- Fixes bug as the current version substitution does not work for Hyperlinks (open PR: adamtheturtle/sphinx-substitution-extensions#178)

GitOrigin-RevId: 9d05b32de593d2d553cfc567e092941b3d30a8a7
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Aug 27, 2022
- Follows first point of https://infra.apache.org/release-download-pages.html#download-page to use `https://www.apache.org/dyn/closer.lua/PROJECT/VERSION/SOURCE-RELEASE` for mirrors
- Fixes bug as the current version substitution does not work for Hyperlinks (open PR: adamtheturtle/sphinx-substitution-extensions#178)

GitOrigin-RevId: 9d05b32de593d2d553cfc567e092941b3d30a8a7
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Oct 4, 2022
- Follows first point of https://infra.apache.org/release-download-pages.html#download-page to use `https://www.apache.org/dyn/closer.lua/PROJECT/VERSION/SOURCE-RELEASE` for mirrors
- Fixes bug as the current version substitution does not work for Hyperlinks (open PR: adamtheturtle/sphinx-substitution-extensions#178)

GitOrigin-RevId: 9d05b32de593d2d553cfc567e092941b3d30a8a7
aglipska pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Oct 7, 2022
- Follows first point of https://infra.apache.org/release-download-pages.html#download-page to use `https://www.apache.org/dyn/closer.lua/PROJECT/VERSION/SOURCE-RELEASE` for mirrors
- Fixes bug as the current version substitution does not work for Hyperlinks (open PR: adamtheturtle/sphinx-substitution-extensions#178)

GitOrigin-RevId: 9d05b32de593d2d553cfc567e092941b3d30a8a7
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Dec 7, 2022
- Follows first point of https://infra.apache.org/release-download-pages.html#download-page to use `https://www.apache.org/dyn/closer.lua/PROJECT/VERSION/SOURCE-RELEASE` for mirrors
- Fixes bug as the current version substitution does not work for Hyperlinks (open PR: adamtheturtle/sphinx-substitution-extensions#178)

GitOrigin-RevId: 9d05b32de593d2d553cfc567e092941b3d30a8a7
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jan 27, 2023
- Follows first point of https://infra.apache.org/release-download-pages.html#download-page to use `https://www.apache.org/dyn/closer.lua/PROJECT/VERSION/SOURCE-RELEASE` for mirrors
- Fixes bug as the current version substitution does not work for Hyperlinks (open PR: adamtheturtle/sphinx-substitution-extensions#178)

GitOrigin-RevId: 9d05b32de593d2d553cfc567e092941b3d30a8a7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant