Skip to content

Commit 6984577

Browse files
authored
Merge pull request #128 from kayjan/change-docs
Change toctree in docs
2 parents a84fc3e + dbf0548 commit 6984577

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

docs/source/_templates/layout.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,25 @@
22
<html lang="en">
33
<head>
44
{% block extrahead %}
5-
<meta name="description" content="Tree Implementation for Python, integrated with Python list, dictionary, and pandas DataFrame." lang="en" xml:lang="en">
5+
<meta name="description" content="Tree Implementation and Methods for Python, integrated with Python list, dictionary, and pandas DataFrame." lang="en" xml:lang="en">
66
<meta name="keywords" content="Python, Tree, Bigtree">
77
<meta property="og:type" content="website">
88
<meta property="og:title" content="Big Tree Documentation">
9-
<meta property="og:description" content="Tree Implementation for Python, integrated with Python list, dictionary, and pandas DataFrame.">
9+
<meta property="og:description" content="Tree Implementation and Methods for Python, integrated with Python list, dictionary, and pandas DataFrame.">
1010
<meta property="og:url" content="https://bigtree.readthedocs.io/">
1111
<meta property="og:image" content="https://i.ibb.co/T1G58Bk/favicon-big.png">
1212
<meta property="twitter:title" content="Big Tree Documentation">
13-
<meta property="twitter:description" content="Tree Implementation for Python, integrated with Python list, dictionary, and pandas DataFrame.">
13+
<meta property="twitter:description" content="Tree Implementation and Methods for Python, integrated with Python list, dictionary, and pandas DataFrame.">
1414
<meta property="twitter:image" content="https://i.ibb.co/T1G58Bk/favicon-big.png">
1515
{% endblock %}
1616
</head>
1717
<body>
18+
<div class="sidebar">
19+
{% block sidebartoc %}
20+
<h3>{{ _('Table Of Contents') }}</h3>
21+
{{ toctree(includehidden=True) }}
22+
{% endblock %}
23+
</div>
1824
<div class="container">
1925
{% block content %}
2026
{{ super() }}

docs/source/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
|:deciduous_tree:| Big Tree Documentation
1+
|:deciduous_tree:| Documentation
22
============================================
33

44
.. image:: https://badge.fury.io/py/bigtree.svg
@@ -29,6 +29,7 @@
2929

3030
.. toctree::
3131
:maxdepth: 1
32+
:hidden:
3233

3334
node
3435
binarytree

0 commit comments

Comments
 (0)