Skip to content

Commit

Permalink
Merge branch 'master' of github.com:borgbackup/borg
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Oct 11, 2015
2 parents 8eaf460 + 4d0fa95 commit 0b9dcbf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 22 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fully trusted targets.
See the `installation manual`_ or, if you have already
downloaded Borg, ``docs/installation.rst`` to get started with Borg.

.. _installation manual: http://borgbackup.github.io/borgbackup/installation.html
.. _installation manual: https://borgbackup.readthedocs.org/installation.html

Main features
~~~~~~~~~~~~~
Expand Down Expand Up @@ -112,7 +112,7 @@ Notes
Borg is a fork of `Attic <https://github.com/jborg/attic>`_ and maintained by
"`The Borg collective`_".

.. _The Borg collective: http://borgbackup.github.io/borgbackup/authors.html
.. _The Borg collective: https://borgbackup.readthedocs.org/authors.html

Read `issue #1 <https://github.com/borgbackup/borg/issues/1>`_ about the initial
considerations regarding project goals and policy of the Borg project.
Expand All @@ -123,7 +123,7 @@ CHANGES (like when going from 0.x.y to 1.0.0). Please read the
`changelog`_ (or ``CHANGES.rst`` in the source distribution) for more
information.

.. _changelog: https://borgbackup.github.io/borgbackup/changes.html
.. _changelog: https://borgbackup.readthedocs.org/changes.html

NOT RELEASED DEVELOPMENT VERSIONS HAVE UNKNOWN COMPATIBILITY PROPERTIES.

Expand All @@ -132,7 +132,7 @@ THIS IS SOFTWARE IN DEVELOPMENT, DECIDE YOURSELF WHETHER IT FITS YOUR NEEDS.
Borg is distributed under a 3-clause BSD license, see `the license`_
for the complete license.

.. _the license: https://borgbackup.github.io/borgbackup/authors.html#license
.. _the license: https://borgbackup.readthedocs.org/authors.html#license

|build| |coverage|

Expand Down
11 changes: 0 additions & 11 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,3 @@ doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."

gh-io: html
GH_IO_CLONE="`mktemp -d`" && \
git clone git@github.com:borgbackup/borgbackup.github.io.git $$GH_IO_CLONE && \
(cd $$GH_IO_CLONE && git rm -r *) && \
cp -r _build/html/* $$GH_IO_CLONE && \
(cd $$GH_IO_CLONE && git add -A && git commit -m 'Updated borgbackup.github.io' && git push) && \
rm -rf $$GH_IO_CLONE

inotify: html
while inotifywait -r . --exclude usage.rst --exclude '_build/*' ; do make html ; done
6 changes: 2 additions & 4 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,8 @@ Now run::

Then point a web browser at docs/_build/html/index.html.

To update the web site, copy (and add, commit and push) the contents of the
`_build` directory to the `borgbackup` directory in the web site's repository:
https://github.com/borgbackup/borgbackup.github.io

The website is updated automatically through Github web hooks on the
main repository.

Using Vagrant
-------------
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,13 @@ def run(self):
print("auto-generating API documentation")
with open("docs/api.rst", "w") as doc:
doc.write("""
Borg Backup API documentation"
Borg Backup API documentation
=============================
""")
for mod in glob('borg/*.py') + glob('borg/*.pyx'):
print("examining module %s" % mod)
if "/_" not in mod:
mod = mod.replace('.pyx', '').replace('.py', '').replace('/', '.')
if "._" not in mod:
doc.write("""
.. automodule:: %s
:members:
Expand Down Expand Up @@ -255,7 +256,7 @@ def run(self):
},
author='The Borg Collective (see AUTHORS file)',
author_email='borgbackup@librelist.com',
url='https://borgbackup.github.io/',
url='https://borgbackup.readthedocs.org/',
description='Deduplicated, encrypted, authenticated and compressed backups',
long_description=long_description,
license='BSD',
Expand Down

0 comments on commit 0b9dcbf

Please sign in to comment.