Created
October 4, 2014 12:26
-
-
Save roachhd/bd2bca804e1598eb0300 to your computer and use it in GitHub Desktop.
Flatdoc index.html file for github pages -generates awesome simple FlatDoc style documentation. Please this in the gh-pages branch and it will pull README
This file contains hidden or 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
<!doctype html> | |
<!-- | |
Instructions: | |
- Save this file. | |
- Replace "USER" with your GitHub username. | |
- Replace "REPO" with your GitHub repo name. | |
- Replace "Your Project" with your project name. | |
- Upload this file (or commit to GitHub Pages). | |
Customize as you see fit! | |
--> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="viewport" content="width=device-width"> | |
<title>Your Project</title> | |
<!-- Flatdoc --> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script src='http://rstacruz.github.io/flatdoc/v/0.8.6/legacy.js'></script> | |
<script src='http://rstacruz.github.io/flatdoc/v/0.8.6/flatdoc.js'></script> | |
<!-- Flatdoc theme --> | |
<link href='http://rstacruz.github.io/flatdoc/v/0.8.6/theme-white/style.css' rel='stylesheet'> | |
<script src='http://rstacruz.github.io/flatdoc/v/0.8.6/theme-white/script.js'></script> | |
<!-- Meta --> | |
<meta content="Your Project" property="og:title"> | |
<meta content="Your Project description goes here." name="description"> | |
<!-- Initializer --> | |
<script> | |
Flatdoc.run({ | |
fetcher: Flatdoc.github('USER/REPO') | |
}); | |
</script> | |
</head> | |
<body role='flatdoc'> | |
<div class='header'> | |
<div class='left'> | |
<h1>Your Project</h1> | |
<ul> | |
<li><a href='https://github.com/USER/REPO'>View on GitHub</a></li> | |
<li><a href='https://github.com/USER/REPO/issues'>Issues</a></li> | |
</ul> | |
</div> | |
<div class='right'> | |
<!-- GitHub buttons: see http://ghbtns.com --> | |
<iframe src="http://ghbtns.com/github-btn.html?user=USER&repo=REPO&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe> | |
</div> | |
</div> | |
<div class='content-root'> | |
<div class='menubar'> | |
<div class='menu section' role='flatdoc-menu'></div> | |
</div> | |
<div role='flatdoc-content' class='content'></div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment