Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f09451c13 | ||
|
|
eade56c912 | ||
|
|
8ab2e5eb2a | ||
|
|
d58834222d | ||
|
|
f934776af6 | ||
|
|
d2e2764bd6 | ||
|
|
aedddcbc39 |
@@ -1,3 +1,10 @@
|
||||
mkdocs-material-0.2.2 (2016-03-20)
|
||||
|
||||
* Fixed #15: Document pygments dependency for codehilite
|
||||
* Fixed #16: Favicon could not be set through mkdocs.yml
|
||||
* Fixed #17: Put version into own container for styling
|
||||
* Fixed #20: Fix rounded borders for tables
|
||||
|
||||
mkdocs-material-0.2.1 (2016-03-12)
|
||||
|
||||
* Fixed #10: Invisible header after closing search bar with ESC key
|
||||
|
||||
@@ -205,8 +205,9 @@ have to switch them on explicitly.
|
||||
|
||||
### CodeHilite (recommended)
|
||||
|
||||
This extensions adds code highlighting to fenced code blocks. It might not be
|
||||
the best code highlighter, but it works without JavaScript and on the server:
|
||||
This extensions uses [Pygments][] (install with `pip install pygments`) to add
|
||||
code highlighting to fenced code blocks. It might not be the best code
|
||||
highlighter, but it works without JavaScript and on the server:
|
||||
|
||||
``` yaml
|
||||
markdown_extensions:
|
||||
@@ -220,12 +221,12 @@ further instructions
|
||||
### Permalinks
|
||||
|
||||
In order to add [permalinks][] to the headers of your article, set the
|
||||
`markdown_extensions.toc.permalink` variable to a symbol, e.g. `¶`:
|
||||
`markdown_extensions.toc.permalink` variable to a symbol, e.g. `#`:
|
||||
|
||||
``` yaml
|
||||
markdown_extensions:
|
||||
- toc:
|
||||
permalink: '¶'
|
||||
permalink: '#'
|
||||
```
|
||||
|
||||
The symbol can be chosen freely, it can even be a WebFont icon.
|
||||
@@ -317,7 +318,7 @@ markdown_extensions:
|
||||
- codehilite(css_class=code)
|
||||
- admonition
|
||||
- toc:
|
||||
permalink: '¶'
|
||||
permalink: '#'
|
||||
```
|
||||
|
||||
[MkDocs]: http://www.mkdocs.org
|
||||
@@ -326,6 +327,7 @@ markdown_extensions:
|
||||
[Google Fonts]: https://www.google.com/fonts
|
||||
[Roboto font]: https://www.google.com/fonts/specimen/Roboto
|
||||
[Markdown extensions]: http://www.mkdocs.org/user-guide/writing-your-docs/#markdown-extensions
|
||||
[Pygments]: http://pygments.org
|
||||
[highlight.js]: https://highlightjs.org
|
||||
[extra]: http://www.mkdocs.org/user-guide/styling-your-docs/#customising-a-theme
|
||||
[permalinks]: https://en.wikipedia.org/wiki/Permalink
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+4
-4
@@ -34,9 +34,9 @@
|
||||
{% if config.extra.logo %}
|
||||
<link rel="apple-touch-icon" href="{{ base_url }}/{{ config.extra.logo }}">
|
||||
{% endif %}
|
||||
{% set icon = icon | default("assets/images/favicon-e565ddfa3b.ico") %}
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ base_url }}/{{ icon }}">
|
||||
<link rel="icon" type="image/x-icon" href="{{ base_url }}/{{ icon }}">
|
||||
{% set favicon = favicon | default("assets/images/favicon-e565ddfa3b.ico") %}
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ base_url }}/{{ favicon }}">
|
||||
<link rel="icon" type="image/x-icon" href="{{ base_url }}/{{ favicon }}">
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: 'Icon';
|
||||
@@ -53,7 +53,7 @@
|
||||
font-style: normal;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-20d5debb47.css">
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-54f87043f3.css">
|
||||
{% if config.extra.palette %}
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/palettes-05ab2406df.css">
|
||||
{% endif %}
|
||||
|
||||
@@ -8,7 +8,12 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="name">
|
||||
<strong>{{ site_name }} {{ config.extra.version }}</strong>
|
||||
<strong>
|
||||
{{ site_name }}
|
||||
<span class="version">
|
||||
{{ config.extra.version }}
|
||||
</span>
|
||||
</strong>
|
||||
{% if repo_id %}
|
||||
<br>
|
||||
{{ repo_id }}
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
"assets/images/favicon.ico": "assets/images/favicon-e565ddfa3b.ico",
|
||||
"assets/javascripts/application.js": "assets/javascripts/application-997097ee0c.js",
|
||||
"assets/javascripts/modernizr.js": "assets/javascripts/modernizr-4ab42b99fd.js",
|
||||
"assets/stylesheets/application.css": "assets/stylesheets/application-20d5debb47.css",
|
||||
"assets/stylesheets/application.css": "assets/stylesheets/application-54f87043f3.css",
|
||||
"assets/stylesheets/palettes.css": "assets/stylesheets/palettes-05ab2406df.css"
|
||||
}
|
||||
@@ -93,20 +93,6 @@
|
||||
th {
|
||||
background: mix($primary, $white, 75%);
|
||||
color: $white;
|
||||
|
||||
/*
|
||||
* Round upper left border
|
||||
*/
|
||||
&:first-child {
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Round upper right border
|
||||
*/
|
||||
&:last-child {
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -223,6 +223,7 @@
|
||||
table {
|
||||
margin: 3.0em 0 1.5em;
|
||||
font-size: 13px;
|
||||
overflow: hidden;
|
||||
|
||||
/*
|
||||
* The semi-cool solution, in case javascript is not available
|
||||
|
||||
+3
-3
@@ -58,11 +58,11 @@
|
||||
{% endif %}
|
||||
|
||||
<!-- Favicon -->
|
||||
{% set icon = icon | default("assets/images/favicon.ico") %}
|
||||
{% set favicon = favicon | default("assets/images/favicon.ico") %}
|
||||
<link rel="shortcut icon" type="image/x-icon"
|
||||
href="{{ base_url }}/{{ icon }}" />
|
||||
href="{{ base_url }}/{{ favicon }}" />
|
||||
<link rel="icon" type="image/x-icon"
|
||||
href="{{ base_url }}/{{ icon }}" />
|
||||
href="{{ base_url }}/{{ favicon }}" />
|
||||
|
||||
<!-- Configure icons (placed here to omit issues with subdirectories) -->
|
||||
<style>
|
||||
|
||||
+6
-1
@@ -17,7 +17,12 @@
|
||||
|
||||
<!-- Project name and verison -->
|
||||
<div class="name">
|
||||
<strong>{{ site_name }} {{ config.extra.version }}</strong>
|
||||
<strong>
|
||||
{{ site_name }}
|
||||
<span class="version">
|
||||
{{ config.extra.version }}
|
||||
</span>
|
||||
</strong>
|
||||
|
||||
<!-- Project repository name -->
|
||||
{% if repo_id %}
|
||||
|
||||
Reference in New Issue
Block a user