-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New documentation theme #3376
New documentation theme #3376
Conversation
* adds styles for anchor.js (similar to the official Bootstrap docs) * currently results some of the generated links to have a suffix (e. g. examples.html#templating-1) added due to sections having the same ID as the headline copy that we want to link to
Adds * version information * links to the GitHub repository, issues and releases * links to the examples and options * a link to the 3.5.2 docs to the footer as well as namespaced styles for the footer in general as well as all the above.
With the additional footer navigation in place, it should be safe to remove these.
While the latter is part of the docs, the "Release notes" are linked to the GitHub "Releases" section; thus the added divider.
This also gets rid of the colored buttons in favor of `.btn-default`, prevents wrapping of the "Destroy" button of the first button group of the "Programmatic access" demos to a second line and consistently places buttons below the Select2 widgets they apply to. Ref. http://getbootstrap.com/components/#btn-groups.
Borrowed from the Bootstrap doc implementation.
Courtesy of Julien Melissas, ref. http://codepen.io/JulienMelissas/pen/LEBGLj
While I'm not too happy with things as they currently are, it's a start. This also removes the icon from the "Download" button.
…(instead of <section>).
Hi @kevin-brown thanks for the pull request. There's still some things left to do, from the top of my head:
I'll see if I can figure out the linking thing myself, but I'd like to request your help with the "Remote data support" block. I'll have some time tomorrow to do so. |
This adds correct links to the linked text on the front page under the features section. There is still one panel which needs to be written, the last one that includes the AJAX text again, before it can really be considered finished. The wording around the Bootstrap theme was adjusted pending further discussion about how that is going to be handled.
This adds the final box, which I've chosen to be for the browser support (though that can be changed). The last two boxes on the first row have also been swapped, partially because the text sizes now match the second row, but also because the AJAX support should be more prominent than the theme support.
Conflicts: docs/examples.html In the docs-improvements branch, the docs examples live in partials located in docs/_includes/examples. The updated AJAX example code from #3357 – the conflicting addition to docs/examples.html – has been ported to the appropiate partial in docs/_includes/examples.data.html.
Previews of how it looks. The new home page: https://i.imgur.com/qxYrUqb.png |
👍 Really like the new design! It's significantly more "Bootstrappy," which is a good thing. :D Props to @fk! |
This incorporates work done by @fk to design a new documentation theme which is a bit more user friendly.
Feedback is greatly appreciated.