This repository has been archived by the owner on Jan 24, 2021. It is now read-only.
forked from mkdocs/mkdocs-basic-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
123 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
recursive-include basic_theme *.ico *.js *.css *.png *.html *.eot *.svg *.ttf *.woff | ||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.active a { | ||
color: red; | ||
font-weight: bold; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* | ||
* This JavaScript doesn't do anything. The file exists just to demonstrate | ||
* including static assets from the HTML in themes. | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- | ||
--> | ||
{% if not nav_item.children %} | ||
<li {% if nav_item.active %}class="active"{% endif %}> | ||
<a href="{{ nav_item.url }}">{{ nav_item.title }}</a> | ||
</li> | ||
{% else %} | ||
<li> | ||
{{ nav_item.title }} | ||
<ul> | ||
{% for nav_item in nav_item.children %} | ||
{% include "nav.html" %} | ||
{% endfor %} | ||
</ul> | ||
</li> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Testing Page | ||
|
||
See the [Home Page](/). All the other pages are for demonstration purposes | ||
with the navigation only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Testing Page | ||
|
||
See the [Home Page](/). All the other pages are for demonstration purposes | ||
with the navigation only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Testing Page | ||
|
||
See the [Home Page](/). All the other pages are for demonstration purposes | ||
with the navigation only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Testing Page | ||
|
||
See the [Home Page](/). All the other pages are for demonstration purposes | ||
with the navigation only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# MkDocs Basic Theme | ||
|
||
This is a very basic theme for MkDocs with the goal of | ||
demonstrating all of the features with minimal HTML and CSS. | ||
This is a very basic theme for MkDocs with the goal of demonstrating all of | ||
the features with minimal HTML and CSS. | ||
|
||
The actual contents of this documentation is very minimal. | ||
Rather, you should look at the .html files in the `basic_theme` | ||
directory to see the example of the theme. | ||
## Adapting this theme | ||
|
||
If you want to use this theme as a base to create your own, it is best to | ||
download or fork the theme and start to modify it | ||
|
||
Make sure you read the MkDocs documentation regarding writing custom themes. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Testing Page | ||
|
||
See the [Home Page](/). All the other pages are for demonstration purposes | ||
with the navigation only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Testing Page | ||
|
||
See the [Home Page](/). All the other pages are for demonstration purposes | ||
with the navigation only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Testing Page | ||
|
||
See the [Home Page](/). All the other pages are for demonstration purposes | ||
with the navigation only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Testing Page | ||
|
||
See the [Home Page](/). All the other pages are for demonstration purposes | ||
with the navigation only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Testing Page | ||
|
||
See the [Home Page](/). All the other pages are for demonstration purposes | ||
with the navigation only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
from setuptools import setup, find_packages | ||
|
||
VERSION = '1.0' | ||
|
||
|
||
setup( | ||
name="mkdocs-basic-theme", | ||
version=VERSION, | ||
url='http://www.mkdocs.org', | ||
license='BSD', | ||
description='Minimal theme for MkDocs', | ||
author='Dougal Matthews', | ||
author_email='[email protected]', | ||
packages=find_packages(), | ||
include_package_data=True, | ||
entry_points={ | ||
'mkdocs.themes': [ | ||
'basictheme = basic_theme', | ||
] | ||
}, | ||
zip_safe=False | ||
) |