Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

An automatic table of contents generator, using Bootstrap 3

License

Notifications You must be signed in to change notification settings

DoDSoftware/bootstrap-toc

Open more actions menu
 
 

Repository files navigation

Hi there—thanks for being interested in contributing! For starters, all questions, feature suggestions, and bug reports/fixes are welcome. That being said, some goals of this plugin are to stay simple/small, "just work", and not require a lot of configuration, so please don't be offended if any feature requests are politely declined. For any feature/configuration additions, you might want to open an issue explaining the idea first before going through the trouble of implementing it.

Manual testing

  1. Run bundle.
  2. Run bundle exec jekyll serve.
  3. Open the various test templates:

Automated testing

  1. Run npm install.
  2. Run gulp test/gulp watch (command-line), or open test/index.html (browser).

You can find the tests in test/toc-test.js.

Pull request guidelines

  • Keep the pull request small, and narrowly scoped (one bug fix, one feature, etc.)
  • The dist/ directory contains the latest released version of the plugin, so please make any code changes in bootstrap-toc.js and bootstrap-toc.css only.
  • Don't update the dist/ directory, bump the version, etc...these will be done by the maintainer(s) as part of a release.
  • Add/update tests for functionality changes, additions, or fixes.
  • Update the documentation for any functionality changes/additions.

Thanks!

About

An automatic table of contents generator, using Bootstrap 3

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 58.7%
  • HTML 33.4%
  • CSS 7.3%
  • Ruby 0.6%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.