1
0
Fork 0

Revert "Add config option DISPLAY_DOCS"

This reverts commit d0cd7ff80c.
This commit is contained in:
Alex Kotov 2023-08-26 20:36:51 +04:00
parent d9a402184a
commit 3303f77009
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
4 changed files with 0 additions and 7 deletions

View file

@ -107,7 +107,6 @@ CONFIG_SCHEMA: Dict[str, ConfigDefaultDict] = {
'PREVIEW_ARCHIVE_DOT_ORG': {'type': bool, 'default': True},
'PREVIEW_ORIGINALS': {'type': bool, 'default': True},
'LOGOUT_REDIRECT_URL': {'type': str, 'default': '/'},
'DISPLAY_DOCS': {'type': bool, 'default': True},
},
'ARCHIVE_METHOD_TOGGLES': {

View file

@ -25,7 +25,6 @@ from ..config import (
HTML_INDEX_FILENAME,
PREVIEW_ARCHIVE_DOT_ORG,
PREVIEW_ORIGINALS,
DISPLAY_DOCS,
)
MAIN_INDEX_TEMPLATE = 'static_index.html'
@ -68,7 +67,6 @@ def main_index_template(links: List[Link], template: str=MAIN_INDEX_TEMPLATE) ->
'time_updated': datetime.now(timezone.utc).strftime('%Y-%m-%d %H:%M'),
'links': [link._asdict(extended=True) for link in links],
'FOOTER_INFO': FOOTER_INFO,
'DISPLAY_DOCS': DISPLAY_DOCS,
})

View file

@ -25,9 +25,7 @@
<div class="col-sm-10" style="text-align: right">
<a href="/add/">Add Links</a> &nbsp; | &nbsp;
<a href="/admin/core/snapshot/">Admin</a> &nbsp; | &nbsp;
{% if DISPLAY_DOCS %}
<a href="https://github.com/ArchiveBox/ArchiveBox/wiki">Docs</a>
{% endif %}
</div>
</div>
</div>

View file

@ -9,8 +9,6 @@ services:
environment:
- ALLOWED_HOSTS=*
- MEDIA_MAX_SIZE=750m
# Custom
- DISPLAY_DOCS=False
# Extractors
- USE_YOUTUBEDL=False
- USE_GIT=False