Skip to content

Commit

Permalink
moar variables
Browse files Browse the repository at this point in the history
  • Loading branch information
vanosg committed Dec 31, 2023
1 parent 00dfd28 commit 0a0cb02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion doc/sphinx_source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@
#texinfo_no_detailmenu = False

rst_prolog = """
.. |dlink| replace:: ftp://ftp.eggheads.org/pub/eggdrop/source/%s/eggdrop-%s.tar.gz
.. role:: raw-html(raw)
:format: html
.. |dlink| replace:: :raw-html:`<a href=https://ftp.eggheads.org/pub/eggdrop/source/%s/eggdrop-%s.tar.gz>the current version of Eggdrop</a>`
.. |majversion| replace:: %s
""" % (maj_version, version, maj_version)
4 changes: 2 additions & 2 deletions doc/sphinx_source/tutorials/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ Download locations

The developers distribute Eggdrop via two main methods: FTP, and GitHub. For FTP, it is packaged in tarball format (with the .tar.gz filename extension), with the version number in the filename. The Eggdrop |version| source, for example, would be named eggdrop-|version|.tar.gz.

`The Eggheads FTP <https://ftp.eggheads.org/pub/eggdrop/>`_ is a repository for the `current <https://ftp.eggheads.org/pub/eggdrop/source/|majversion|/eggdrop-|version|.tar.gz>`_ version of Eggdrop, as well as the most current development snapshot and previous stable releases.
`The Eggheads FTP <https://ftp.eggheads.org/pub/eggdrop/>`_ is a repository for |dlink|, as well as the most current development snapshot and previous stable releases.

Eggdrop also maintains a `GitHub page <https://github.com/eggheads/eggdrop>`_ where you can download the development snapshot or a stable version, via either git commandline or by downloading a tarball. To download via git, type ``git clone https://github.com/eggheads/eggdrop.git``, then ``cd eggdrop``. This gives you the development version. To switch to the most recent stable version, type ``git checkout stable/|majversion|``. You can then skip to step 4 in the Installation section below.
Eggdrop also maintains a `GitHub page <https://github.com/eggheads/eggdrop>`_ where you can download the development snapshot or a stable version, via either git commandline or by downloading a tarball. To download via git, type ``git clone https://github.com/eggheads/eggdrop.git``, then ``cd eggdrop``. This gives you the development version. To switch to the most recent stable version, type :substitution-code:`git checkout stable/|majversion|`. You can then skip to step 4 in the Installation section below.

Installation
------------
Expand Down

0 comments on commit 0a0cb02

Please sign in to comment.