Patrick Marsceill
1b0a313c16
Make examples more clear
2020-09-14 12:54:55 -04:00
Patrick Marsceill
c587c0b217
Fix heading hierarchy
2020-09-14 12:46:26 -04:00
Patrick Marsceill
e4246b35b0
Update permalink
2020-09-14 12:43:59 -04:00
Patrick Marsceill
68d5c56cf3
Move this down
2020-09-14 12:40:17 -04:00
Patrick Marsceill
f76b891038
Merge pull request #427 from pmarsceill/dependabot/npm_and_yarn/prettier-2.1.1
...
Bump prettier from 2.0.5 to 2.1.1
2020-09-14 12:35:27 -04:00
Patrick Marsceill
9260e59255
Merge branch 'master' into custom_header_footer
2020-09-14 12:32:01 -04:00
Patrick Marsceill
e0f7dea67f
Update just-the-docs.gemspec
2020-09-14 12:28:55 -04:00
Patrick Marsceill
575b9237f9
Revert this
2020-09-14 12:28:14 -04:00
Patrick Marsceill
d4da8e7e46
Update index.md
2020-09-14 12:15:15 -04:00
Patrick Marsceill
ada962d917
Add current version number as a test.
2020-09-14 12:07:59 -04:00
Patrick Marsceill
f518ff3caa
Update _sass/support/_variables.scss
...
Co-authored-by: Kevin Lin <kevinl@cs.uw.edu>
2020-09-14 11:19:56 -04:00
Patrick Marsceill
020a50acff
Update docs/tests/navigation/exclude/untitled.md
...
Co-authored-by: Peter Mosses <18308236+pdmosses@users.noreply.github.com>
2020-09-14 10:57:42 -04:00
dependabot-preview[bot]
985bdc02ca
Bump prettier from 2.0.5 to 2.1.1
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.0.5 to 2.1.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.0.5...2.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-12 08:26:47 +00:00
Peter Mosses
000da77ba2
Update _includes/nav.html
...
Correction needed for use of collections.
Co-authored-by: Kevin Lin <kevinl@cs.uw.edu>
2020-09-12 08:55:53 +02:00
Patrick Marsceill
f774596f5e
Use magic numbers for better alignment
2020-09-11 17:18:44 -04:00
Patrick Marsceill
5cc5ae5edf
Merge pull request #418 from mrfleap/master
...
Add site.gh_edit_source to "Edit this page on GitHub" link
2020-09-11 17:00:29 -04:00
Patrick Marsceill
1c654bad4b
Merge pull request #411 from pdmosses/nav-sorting
...
Safe page sorting
2020-09-11 16:58:06 -04:00
PLanCompS
d59887cc2b
Update linenos.md
...
doc for turning on kramdown linenos globally corrected/
2020-09-11 19:42:44 +02:00
PLanCompS
fea9ae2b07
Update _config.yml
...
url corrected
2020-09-11 19:41:55 +02:00
PLanCompS
ddccec7bb7
Update navigation-structure.md
...
Reinstated the collapsible TOC at the top, to support the reference to it right at the end of the file. (The `TOC` feature can only be used once per page, so this is the only way of illustrating the rendering of the collapsible TOC in the docs.)
2020-09-11 18:57:57 +02:00
PLanCompS
cd8d173935
Updated tests activation documenation
...
Apparetnly Jekyll's `include` config option cannot be used to override an `exclude`, so activating `docs/tests/` requires commenting-out that line in the `exclude` list.
2020-09-11 18:54:32 +02:00
PLanCompS
02763e69d9
Merge branch 'master' into nav-sorting
2020-09-11 18:49:44 +02:00
PLanCompS
d07589a9ee
Merge remote-tracking branch 'upstream/v0.3.2'
2020-09-11 18:21:18 +02:00
Patrick Marsceill
2abf8662b6
Merge pull request #419 from pmarsceill/dependabot/npm_and_yarn/prettier-2.1.1
...
Bump prettier from 2.0.5 to 2.1.1
2020-09-11 12:00:22 -04:00
Patrick Marsceill
d0a9cd38dd
Merge pull request #404 from pdmosses/h4-code
...
Inhibit text-transform for code in h4
2020-09-11 11:51:02 -04:00
Patrick Marsceill
322026633f
Merge pull request #331 from hvianna/master
...
Fix native font stack precedence issue on Windows systems.
2020-09-11 11:48:54 -04:00
Patrick Marsceill
a9842d2846
Merge pull request #361 from pdebruic/add-font-size-vars
...
make font-sizes sass variables so they can be changed
2020-09-11 11:48:12 -04:00
Patrick Marsceill
db32b66ce9
Merge pull request #375 from pdmosses/linenos
...
Support for the linenos option on highlighted code
2020-09-11 10:59:13 -04:00
dependabot-preview[bot]
793a7247db
Bump prettier from 2.0.5 to 2.1.1
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.0.5 to 2.1.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.0.5...2.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-26 08:53:22 +00:00
Phillip Cutter
cdfad69c5b
Migrated from site.source to site.gh_edit_source
2020-08-25 18:08:31 -07:00
Phillip Cutter
55f80acb4f
Added site.source to GitHub edit link
2020-08-25 17:53:54 -07:00
PLanCompS
ca367e09d5
Added regression tests for navigation
...
See the change to `_config.yml` for how to activate the tests.
2020-08-13 16:52:30 +02:00
PLanCompS
591a3c2351
Update navigation-structure.md
...
Clarifications
2020-08-13 16:48:45 +02:00
PLanCompS
cfbdee1168
Update nav.html
...
Fixed conversion of numeric titles to strings.
2020-08-13 16:47:58 +02:00
PLanCompS
cff0254d93
Update navigation-structure.md
...
Adjusted the documentation to explain how mixtures of numbers and strings are treated by `nav_order`.
2020-08-11 20:47:22 +02:00
PLanCompS
e4759daecf
Update nav.html
...
Indentation adjusted
2020-08-11 18:31:54 +02:00
PLanCompS
a7be52df3b
Update nav.html
2020-08-11 18:26:34 +02:00
PLanCompS
4fc59a578f
Separate sorting of numbers and strings for navigation order
...
The values of `title` and `nav_order` can be numbers or strings.
Jekyll gives build failures when sorting on mixtures of different types,
so numbers and strings need to be sorted separately.
Here, numbers are sorted by their values, and come before all strings.
An omitted `nav_order` value is equivalent to the page's `title` value
(except that a numerical `title` value is treated as a string).
The case-sensitivity of string sorting is determined by `site.nav_sort`.
2020-08-11 18:25:58 +02:00
PLanCompS
bb8c387899
Merge remote-tracking branch 'upstream/master' into h4-code
2020-08-11 08:34:49 +02:00
PLanCompS
74da664c0a
Linenos test moved to UI Components as a child of Code
2020-08-10 16:53:48 +02:00
Patrick Marsceill
6ac67d2228
Merge branch 'master' into v0.3.2
2020-08-10 10:48:48 -04:00
Patrick Marsceill
7883789d94
Merge pull request #398 from fogfish/master
...
run the site locally inside docker container
2020-08-10 10:47:39 -04:00
Patrick Marsceill
101dd2efdc
Merge pull request #399 from pdmosses/anchor-headings-1.0.7
...
Update anchor_headings.html
2020-08-10 10:46:17 -04:00
Patrick Marsceill
6be8a2e38a
Merge pull request #379 from SgtSilvio/feature/doc-collections
...
Feature/doc collections
2020-08-10 10:42:30 -04:00
Patrick Marsceill
54c921cbcd
Merge pull request #389 from pmarsceill/dependabot/npm_and_yarn/lodash-4.17.19
...
[Security] Bump lodash from 4.17.15 to 4.17.19
2020-08-10 10:41:31 -04:00
Patrick Marsceill
169fa727a3
Merge branch 'master' into dependabot/npm_and_yarn/lodash-4.17.19
2020-08-10 10:34:49 -04:00
Patrick Marsceill
c11814bb7e
Merge pull request #402 from pmarsceill/dependabot/npm_and_yarn/primer/css-15.1.0
...
Bump @primer/css from 14.4.0 to 15.1.0
2020-08-10 10:34:35 -04:00
Patrick Marsceill
264c99b311
Update release-drafter.yml
2020-08-10 10:34:17 -04:00
Patrick Marsceill
5be5d629ff
Merge pull request #401 from pdmosses/description-lists
...
Adjust dl layout
2020-08-10 10:30:05 -04:00
PLanCompS
83ec553348
Ensure pages with nav_exclude are ignored by navigation
...
Pages with `nav_exclude: true` were included when sorting on `title` or `nav_order`. That could cause build failures when the type of value of the field differs from that on other pages, as reported in https://github.com/pmarsceill/just-the-docs/issues/406 .
Pages with `nav_exclude: true` or no `title` are never displayed in the navigation, so removing them from `pages_list` cannot break existing sites. This change also allows the removal of some tests in the code. (The indentation of the code should now be adjusted, but that has been deferred, to restrict the size of the diff for review.)
For testing, the title of `404.html` has been changed to the number `404`, the page `docs/untitled-test.md` has been added, and `nav_sort_order` has been set to `case_sensitive`. Those updates give build failures with the current version of `_includes/nav.html`, but not after the suggested changes.
It will still be possible for build failures to occur due to sorting fields of *non-excluded* pages with differing types of values (e.g., `nav_order`a mixture of numbers and strings). To make the code completely safe will require relatively complicated changes,.
2020-08-10 15:58:42 +02:00