瀏覽代碼

docs: Added link to prebuilt Linux binaries.

Jonas Borgström 11 年之前
父節點
當前提交
7ce3290fb2
共有 2 個文件被更改,包括 16 次插入2 次删除
  1. 9 1
      docs/conf.py
  2. 7 1
      docs/installation.rst

+ 9 - 1
docs/conf.py

@@ -1,4 +1,4 @@
-# -*- coding: utf-8 -*-
+    # -*- coding: utf-8 -*-
 #
 # Attic documentation build configuration file, created by
 # sphinx-quickstart on Sat Sep 10 18:18:25 2011.
@@ -216,3 +216,11 @@ latex_documents = [
 #    ('man', 'attic', 'Attic',
 #     ['Jonas Borgström'], 1)
 #]
+
+extensions = ['sphinx.ext.extlinks']
+
+extlinks = {
+    'issue': ('https://github.com/jborg/attic/issues/%s', '#'),
+    'targz_url': ('https://pypi.python.org/packages/source/A/Attic/%%s-%s.tar.gz' % version, None),
+    'artifacts': ('https://attic-backup.org/downloads/releases/%s/%%s' % version, '')
+        }

+ 7 - 1
docs/installation.rst

@@ -29,7 +29,7 @@ Installing from source tarballs
 -------------------------------
 .. parsed-literal::
 
-    $ curl -O |package_url|
+    $ curl -O :targz_url:`Attic`
     $ tar -xvzf |package_filename|
     $ cd |package_dirname|
     $ python setup.py install
@@ -50,3 +50,9 @@ Packages
 
 |project_name| is also part of the Debian_, Ubuntu_, `Arch Linux`_ and Slackware_
 distributions of GNU/Linux.
+
+Standalone binaries
+-------------------
+
+Prebuilt standalone binaries that work on
+most Linux systems can be found :artifacts:`here <>`.