fix menu links

This commit is contained in:
Julien Bisconti 2016-12-30 17:29:00 +02:00
parent 2b9fc20c6e
commit 0089ce9829
3 changed files with 13 additions and 5 deletions

View File

@ -75,7 +75,7 @@ _Source:_ [What is Docker](https://www.docker.com/what-docker)
- [Security](#security) - [Security](#security)
- [Service Discovery](#service-discovery) - [Service Discovery](#service-discovery)
- [Books](#books) - [Books](#books)
- [In english](#in-english) - [English](#in-english)
- [Chinese](#chinese) - [Chinese](#chinese)
- [German](#german) - [German](#german)
- [Portuguese](#portuguese) - [Portuguese](#portuguese)
@ -294,7 +294,7 @@ by [@prologic][prologic]
# Books # Books
## In English ## English
* [Docker Book](https://dockerbook.com/) by James Turnbul ([@kartar][kartar]) * [Docker Book](https://dockerbook.com/) by James Turnbul ([@kartar][kartar])
* [Docker Cookbook](http://dockercookbook.github.io/) by Neependra Khare ([@neependra](https://twitter.com/neependra)) (Publisher: Packt) * [Docker Cookbook](http://dockercookbook.github.io/) by Neependra Khare ([@neependra](https://twitter.com/neependra)) (Publisher: Packt)
* [Docker Cookbook](http://shop.oreilly.com/product/0636920036791.do) by Sébastien Goasguen ([@sebgoa][sebgoa]) (Publisher: O'Reilly) * [Docker Cookbook](http://shop.oreilly.com/product/0636920036791.do) by Sébastien Goasguen ([@sebgoa][sebgoa]) (Publisher: O'Reilly)

View File

@ -7,13 +7,17 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878"> <meta name="theme-color" content="#157878">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/awesome-docker/style.css"> <link rel="stylesheet" href="style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/fetch/2.0.1/fetch.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/fetch/2.0.1/fetch.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.5.4/showdown.min.js"></script> <script src="showdown.min.js"></script>
<script> <script>
const converter = new showdown.Converter(); const converter = new showdown.Converter();
converter.setFlavor('github'); converter.setFlavor('github');
fetch('https://raw.githubusercontent.com/veggiemonk/awesome-docker/master/README.md') converter.setOption('prefixHeaderId', false);
converter.setOption('simplifiedAutoLink', true);
converter.setOption('headerReplace', '-');
// fetch('https://raw.githubusercontent.com/veggiemonk/awesome-docker/master/README.md')
fetch('/README.md')
.then(res => res.text()) .then(res => res.text())
.catch(err => console.error(err)) .catch(err => console.error(err))
.then( text => { .then( text => {

4
showdown.min.js vendored Normal file

File diff suppressed because one or more lines are too long