Skip to content

Commit b7a368b

Browse files
committed
build docs
1 parent 6368f11 commit b7a368b

11 files changed

+22
-51
lines changed

Configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Configuration of ArchiveBox is done by using the `archivebox config` command, modifying the `ArchiveBox.conf` file in the data folder, or by using environment variables. All three methods work equivalently when using Docker as well.
66

77
*Some equivalent examples of setting some configuration options:*
8-
```bash[][]
8+
```bash
99
archivebox config --set CHROME_BINARY=google-chrome-stable
1010
# OR
1111
echo "CHROME_BINARY=google-chrome-stable" >> ArchiveBox.conf

Contents.rst

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ General
3131
Publishing-Your-Archive.md
3232
Scheduled-Archiving.md
3333
Chromium-Install.md
34+
Upgrading-or-Merging-Archives.md
3435

3536

3637
API Reference

Docker.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Make sure you have Docker installed and set up on your machine before following
88

99
<img src="https://i.imgur.com/qFAPRwC.png" width="20%" align="right">
1010

11-
- [Overview](#)
11+
- [Overview](#Overview)
1212
- [Docker Compose](#docker-compose) (recommended way)
1313
- [Setup](#setup)
1414
- [Upgrading](https://github.com/ArchiveBox/ArchiveBox/wiki/Upgrading-or-Merging-Archives#upgrading-with-docker-compose-%EF%B8%8F)

Scheduled-Archiving.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ positional arguments:
1414

1515
optional arguments:
1616
-h, --help show this help message and exit
17-
--quiet, -q Don't warn about storage space.
17+
--quiet, -q Dont warn about storage space.
1818
--add Add a new scheduled ArchiveBox update job to cron
1919
--every EVERY Run ArchiveBox once every [timeperiod] (hour/day/month/year or cron format e.g. "0 0 * * *")
2020
--depth {0,1} Depth to archive to [0] or 1, see "add" command help for more info

Upgrading-or-Merging-Archives.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ More info:
252252
#### Database and filesystem contention issues when running multiple ArchiveBox processes
253253

254254
ArchiveBox can sometimes struggle when archiving many links in parallel with multiple ArchiveBox processes trying to write to the database at the same time, leading to errors like this:
255-
```logs
255+
```bash
256256
Unable to create the django_migrations table (database is locked)
257257
```
258258

@@ -305,7 +305,7 @@ More info:
305305
A corrupted database file can theoretically only happen if an external process or filesystem error corrupts the SQLite3 database (there has only been [one report](https://github.com/ArchiveBox/ArchiveBox/issues/955) of a user encountering this in real life). If you ever need to repair a corrupted ArchiveBox index you can run the following steps.
306306

307307
Note this is specific to this error, these steps do not apply to other migrations/db errors (see below for other issues):
308-
```logs
308+
```bash
309309
sqlite3.DatabaseError: database disk image is malformed
310310
```
311311

Web-Archiving-Community.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ If any of these links are dead, you can find an archived version on https://arch
341341
- **Reddit r/DataHoarder, r/SelfHosted, etc. posts and comments**:
342342
[#1](https://www.reddit.com/r/DataHoarder/comments/69e6i9/archive_a_browseable_copy_of_your_saved_pocket/), [#2](https://www.reddit.com/r/DataHoarder/comments/6kepv6/bookmarkarchiver_now_supports_archiving_all_major/), [#3](https://www.reddit.com/r/DataHoarder/comments/apnud4/continually_archive_websites_and_keep_the_older/), [#4](https://www.reddit.com/r/DataHoarder/comments/azdhd9/archivebox_open_source_selfhosted_web_archive/), [#5](https://www.reddit.com/r/DataHoarder/comments/b0o10h/archivebox_self_hosting_clone_of_archiveorg/) , **[#6](https://www.reddit.com/r/DataHoarder/comments/b4nrlc/in_case_you_havent_seen_it_archivebox_has_a/)**, [#7](https://www.reddit.com/r/selfhosted/comments/69eoi3/pocket_stream_archive_your_own_personal_wayback/), [#8](https://www.reddit.com/r/selfhosted/comments/an2368/archivebox_the_opensource_selfhosted_web_archive/), [and many more...](https://www.google.com/search?q=site%3Areddit.com+%22archivebox%22)
343343
- **Twitter:**
344-
[Python Trending](https://twitter.com/pythontrending/status/1092492387182628865), [PyCoder's Weekly](https://twitter.com/pycoders/status/1105803699799105536), [Python Hub](https://twitter.com/PythonHub/status/1107601343395651589), [Smashing Magazine](https://twitter.com/smashingmag/status/1107990604774928386), [and many more...]([Twitter](https://twitter.com/search?l=&q=archivebox.io%20OR%20pirate%2Farchivebox%20OR%20archivebox&src=typd))
344+
[Python Trending](https://twitter.com/pythontrending/status/1092492387182628865), [PyCoder's Weekly](https://twitter.com/pycoders/status/1105803699799105536), [Python Hub](https://twitter.com/PythonHub/status/1107601343395651589), [Smashing Magazine](https://twitter.com/smashingmag/status/1107990604774928386), <a href="https://twitter.com/search?q=archivebox.io%20OR%20archivebox%2Farchivebox%20OR%20archiveboxapp&src=typed_query&f=live">and many more...</a>
345345

346346

347347
---

_static/icon.png

10.5 KB
Loading

archivebox.cli.rst

+3-27
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ archivebox.cli package
44
Submodules
55
----------
66

7-
archivebox.cli.archivebox module
8-
--------------------------------
9-
10-
.. automodule:: archivebox.cli.archivebox
11-
:members:
12-
:undoc-members:
13-
:show-inheritance:
14-
157
archivebox.cli.archivebox\_add module
168
-------------------------------------
179

@@ -36,10 +28,10 @@ archivebox.cli.archivebox\_help module
3628
:undoc-members:
3729
:show-inheritance:
3830

39-
archivebox.cli.archivebox\_info module
40-
--------------------------------------
31+
archivebox.cli.archivebox\_status module
32+
----------------------------------------
4133

42-
.. automodule:: archivebox.cli.archivebox_info
34+
.. automodule:: archivebox.cli.archivebox_status
4335
:members:
4436
:undoc-members:
4537
:show-inheritance:
@@ -116,22 +108,6 @@ archivebox.cli.archivebox\_version module
116108
:undoc-members:
117109
:show-inheritance:
118110

119-
archivebox.cli.logging module
120-
-----------------------------
121-
122-
.. automodule:: archivebox.cli.logging
123-
:members:
124-
:undoc-members:
125-
:show-inheritance:
126-
127-
archivebox.cli.tests module
128-
---------------------------
129-
130-
.. automodule:: archivebox.cli.tests
131-
:members:
132-
:undoc-members:
133-
:show-inheritance:
134-
135111

136112
Module contents
137113
---------------

archivebox.config.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ archivebox.config package
44
Submodules
55
----------
66

7-
archivebox.config.stubs module
8-
------------------------------
9-
10-
.. automodule:: archivebox.config.stubs
11-
:members:
12-
:undoc-members:
13-
:show-inheritance:
14-
157

168
Module contents
179
---------------
@@ -20,3 +12,11 @@ Module contents
2012
:members:
2113
:undoc-members:
2214
:show-inheritance:
15+
16+
archivebox.config.stubs module
17+
------------------------------
18+
19+
.. automodule:: archivebox.config_stubs
20+
:members:
21+
:undoc-members:
22+
:show-inheritance:

archivebox.core.rst

-8
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ archivebox.core.apps module
2727
:undoc-members:
2828
:show-inheritance:
2929

30-
archivebox.core.models module
31-
-----------------------------
32-
33-
.. automodule:: archivebox.core.models
34-
:members:
35-
:undoc-members:
36-
:show-inheritance:
37-
3830
archivebox.core.settings module
3931
-------------------------------
4032

conf.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..'))
2626
PACKAGE_DIR = os.path.join(ROOT_DIR, 'archivebox')
2727

28+
os.chdir(ROOT_DIR)
29+
2830
sys.path.insert(0, os.path.abspath('.'))
29-
sys.path.insert(0, os.path.abspath('../'))
31+
sys.path.insert(0, os.path.abspath('..'))
3032
sys.path.insert(0, PACKAGE_DIR)
3133
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "core.settings")
3234
django.setup()
@@ -36,7 +38,7 @@
3638
# -- Project information -----------------------------------------------------
3739

3840
project = 'ArchiveBox'
39-
copyright = '2020, Nick Sweeting'
41+
copyright = '2023 ©️ ArchiveBox ™️'
4042
author = 'Nick Sweeting'
4143
github_url = 'https://github.com/ArchiveBox/ArchiveBox'
4244
github_doc_root = 'https://github.com/ArchiveBox/ArchiveBox/tree/master/docs/'

0 commit comments

Comments
 (0)