Move README contents; fix TOC for pdfs/epubs

This commit is contained in:
ScriptAutomate 2021-02-06 14:39:43 -06:00 committed by Megan Wilhite
parent db97de58e9
commit 5b0dab0680
3 changed files with 9 additions and 12 deletions

View file

@ -33,13 +33,7 @@
{%- for rellink in rellinks|reverse %}
<li>
{%- if rellink[3] == "Table of Contents" and pathto(rellink[0]) != '#' %}
<a href="{{ pathto(rellink[0]) }}#table-of-contents" title="{{ rellink[1]|striptags|e }}">{{ rellink[3] }}</a>
{%- elif rellink[3] == "Table of Contents" and pathto(rellink[0]) == '#' %}
<a href="{{ pathto(rellink[0]) }}table-of-contents" title="{{ rellink[1]|striptags|e }}">{{ rellink[3] }}</a>
{%- else %}
<a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}">{{ rellink[3] }}</a>
{% endif %}
{#
{%- if not loop.last %}{{ reldelim2 }}{% endif %}
#}

View file

@ -1,17 +1,13 @@
==========================
Salt Project Documentation
==========================
.. include:: ../README.rst
.. _table-of-contents:
======================
Salt Table of Contents
======================
.. toctree::
:maxdepth: 2
topics/about_salt_project
topics/index
topics/salt_system_architecture
topics/installation/index

View file

@ -0,0 +1,7 @@
.. _about-salt-project:
============
Salt Project
============
.. include:: ../../README.rst