diff --git a/README.md b/README.md index 53f9734..c94c65b 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,19 @@ Done! Language renamed. You can keep all your codeblocks for shell, but it'll lo Just replace `source/images/logo.png` with your logo. + +### How do I change the links that appear below the Table of Contents? + +Just edit, at the top of `index.md`, + + toc_footers: + - Sign Up for a Developer Key + - Documentation Powered by Slate + +Add more lines or remove lines as needed. Just make sure they start with the dash. If you don't want any footer links at all, just remove `toc_footers` altogether, and the link section should just disappear. + +Feel free to remove the "Documentation Powered by Slate" if you'd like, although we appreciate having that there since it helps more people discover Slate! + ### How do I get my code samples to line up with the content I want them next to? Try putting code blocks and annotations right after headers. See the default `source/index.md` for an example, or file an issue if you're having trouble. diff --git a/source/index.md b/source/index.md index a2cf316..0a6da7b 100644 --- a/source/index.md +++ b/source/index.md @@ -1,9 +1,14 @@ --- title: API Reference + language_tabs: - shell - ruby - python + +toc_footers: + - Sign Up for a Developer Key + - Documentation Powered by Slate --- # Introduction diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index cdb1b2f..6690edb 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -62,9 +62,17 @@ under the License.
-