mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Move README contents; fix TOC for pdfs/epubs
This commit is contained in:
parent
db97de58e9
commit
5b0dab0680
3 changed files with 9 additions and 12 deletions
6
doc/_themes/saltstack2/layout.html
vendored
6
doc/_themes/saltstack2/layout.html
vendored
|
@ -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 %}
|
||||
#}
|
||||
|
|
|
@ -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
|
||||
|
|
7
doc/topics/about_salt_project.rst
Normal file
7
doc/topics/about_salt_project.rst
Normal file
|
@ -0,0 +1,7 @@
|
|||
.. _about-salt-project:
|
||||
|
||||
============
|
||||
Salt Project
|
||||
============
|
||||
|
||||
.. include:: ../../README.rst
|
Loading…
Add table
Reference in a new issue