1.0 features (#21)

* feat: hash routing, close #2

* Fix router bug

* Remove console

* Add hash router docs

* Improved scrolling on mobile

* Add change log

* Use hash router
This commit is contained in:
cinwell.li
2016-12-08 21:11:18 +08:00
committed by GitHub
parent b977715d42
commit 864935bfc1
15 changed files with 174 additions and 60 deletions

View File

@@ -213,8 +213,10 @@ If you write a sub level list, it will generate a dropdown list.
- [chinese](/zh-cn)
```
## FAQ
### router
### Why use `404.html` instead of `index.html`
Hash router. You can replace `404.html` with `index.html`.
[issues/7](https://github.com/QingWei-Li/docsify/issues/7)
```html
<script src="/lib/docsify.js" data-router></script>
```