Revert "Add config option DISPLAY_DOCS"
This reverts commit d0cd7ff80c
.
This commit is contained in:
parent
d9a402184a
commit
3303f77009
4 changed files with 0 additions and 7 deletions
|
@ -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': {
|
||||
|
|
|
@ -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,
|
||||
})
|
||||
|
||||
|
||||
|
|
|
@ -25,9 +25,7 @@
|
|||
<div class="col-sm-10" style="text-align: right">
|
||||
<a href="/add/">Add Links</a> |
|
||||
<a href="/admin/core/snapshot/">Admin</a> |
|
||||
{% if DISPLAY_DOCS %}
|
||||
<a href="https://github.com/ArchiveBox/ArchiveBox/wiki">Docs</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,8 +9,6 @@ services:
|
|||
environment:
|
||||
- ALLOWED_HOSTS=*
|
||||
- MEDIA_MAX_SIZE=750m
|
||||
# Custom
|
||||
- DISPLAY_DOCS=False
|
||||
# Extractors
|
||||
- USE_YOUTUBEDL=False
|
||||
- USE_GIT=False
|
||||
|
|
Loading…
Reference in a new issue