mosra / m.css

A no-nonsense, no-JavaScript CSS framework, site and documentation theme for content-oriented websites
https://mcss.mosra.cz
Other
406 stars 92 forks source link

Fixed link to defines section #107

Closed crisluengo closed 5 years ago

crisluengo commented 5 years ago

The menu at the top of a header file or group page had a broken link to the section containing the preprocessor macros ("Defines"). The link referenced a section called "defines", but the section itself was "define-members".

I've changed the tests to match the change in the template, but not run the test. I hope Travis is happy with my changes. ;)

codecov[bot] commented 5 years ago

Codecov Report

Merging #107 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #107   +/-   ##
=======================================
  Coverage   97.79%   97.79%           
=======================================
  Files          24       24           
  Lines        5035     5035           
  Branches       40       40           
=======================================
  Hits         4924     4924           
  Misses        111      111

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b64344b...1e15c27. Read the comment docs.

mosra commented 5 years ago

I wanted to have 100% link compatibility with the vanilla HTML output, and according to e.g. https://pybullet.org/Bullet/BulletFull/btHingeConstraint_8h.html#define-members the proper anchor is actually #define-members. So it would be an inverse of your change, basically :)

Commited as fdcd057ea25cf3cc1bcd02df0e7935ce1498b587, thanks a lot for spotting this!