- page footer style has been synchronized with upstream 8deb882
- bump overlayscrollbars to 2.4.7
Note
This will be the last release to update overlayscrollbars
, which no longer supports IE.
- static CSS is now minified by lightningcss
- bump overlayscrollbars to 2.4.6
- bump overlayscrollbars to 2.4.0
- drop babel-preset-minify from dependencies
- default object values are now displayed as plain text 6ab8efc
- bump overlayscrollbars to 2.2.0
- sorting members by name is now optional 53ac387 (ported from upstream)
- parameter descriptions are now line-wrapped
- rename package to
@clean-jsdoc/clean-jsdoc-es5
- displaying module names in top-level headings is now optional a132d0d (ported from upstream)
- the comma between source files and line references is now hyperlink style
- add a dependency on
@jsdoc/salty
for JSDoc v4 6178729
- bump overlayscrollbars to 2.0.0
- prevent IE from wrapping list items 44d814e
- enforce the background colour of the mobile hamburger button (circumvents a Firefox quirk) 0a4ef85
- moved development of the IE-compatible version to a new LTS branch
- multiple style improvements
- don't escape operators like
&
and>
in source code pages 4cd6813 - remove all CodePen markup from code examples when browsing in IE, and make the inline template scripts more backward-compatible 2a02216
- bump overlayscrollbars to 1.13.2
- new option to list only selected doc sections in the nav menu (ported from upstream)
- new dynamic theme option: 453a2a3
- remove unmatched
</div>
from@example
template
- two new options from upstream:
codepen
- adds an "Edit on CodePen" button to code examplesmenuLocation
- sets the position of the user-defined link menu
-
removed the peer dependency on
jsdoc
because it was pulling in a vulnerable version ofunderscore
.
-
rename package so that releases can be pushed to the GitHub Package Registry directly from the default branch
Note. Installing from the repo will work as before using the
npm
CLI, i.e.npm i rdipardo/clean-jsdoc-theme
You should, however, update any dependent
package.json
:
"devDependencies": {
- "clean-jsdoc": "github:rdipardo/clean-jsdoc-theme",
+ "@rdipardo/clean-jsdoc": "github:rdipardo/clean-jsdoc-theme",
and change the template path in your .jsdoc.json
:
"opts": {
- "template": "node_modules/clean-jsdoc",
+ "template": "node_modules/@rdipardo/clean-jsdoc",
- drop options we don't intend to support, and give new names to the remaining options
- give sufficient padding to inline code quotations, even when inside
<kbd>
or<samp>
tags - increase contrast of code quotations in both themes
- give
<blockquotes>
a visible background in the dark theme
README page
- preserve numbers in ordered lists
- make tables more discreet
- clean up names of "inner" module members in search results (publish.js) and parameter descriptions (tmpl/type.tmpl)
- make the Properties subheading visible in tabular parameter descriptions
- remove empty heading when a return value has no description
- use consistent style for exceptions and fired events
- make line numbers the same colour in both themes
- require npm version >=7.0.0
- integrate upstream style enhancements
publish.js
- remove invalid option from
minifyOpts
- correct file filter so that
minify
can actually process HTML - prevent legacy HTML from being invalidated by overly aggressive optimization
- slightly better contrast in JSON syntax highlighting
- restore list style to
<ul>
s in README pages and make bullets solid to match with@see
metadata
- update clean-jsdoc colorscheme to make punctuation bolder
- recognize JSON syntax in code blocks
- keep the bottom margin consistent when
plugins/markdown
doesn't find a-
after the@returns
tag -- i.e., when the return value description is wrapped in<p>
tags instead of<ul>
s
- fold navigation link hierarchies
- move
@see
metadata to its own section
- display
@see
metadata as a list - apply bold font weight to folded link lists as well as childless ones
- use SEE ALSO as external link section heading
- prevent regex literals from matching with the division operator
- restore
fs-extra
dependency removed in last release - defer loading font-awesome assets until DOM is ready so that error-handler actually works
- use the
overlayscrollbars
npm package - compile and minify all non-third-party scripts
- minify all non-third-party static assets
- improve code prettifier with more keywords and smarter regex matching
- give regex literals their own style rule
-
render
@example
metadata with proper code block style -
modify
prettify.js
to stop syntax highlighting in code blocks with thetext
file type so that markup like this:```text
npm i && npm i jsdoc --no-save
```looks like this:
and not like this:
- make one default set of code style rules; keep some thematic variations for better contrast
- restore the
dynamicStyle
property that was accidentally removed from the layout template in the previous release - restrict the
.pre-top-bar-container
style to actual code blocks so that markup like this:
##Example
/full/name/of/some/path
looks like this:
and not like this:
- new features introduced upstream
- the
add_assets
option will generate alink
tag for stylesheets and image icons (so far) when only anhref
attribute is provided. Otherwise, it behaves the same as the (removed)add_style_path
option
add_style_path
- use
position: absolute;
to keep the navigation toggle button inside the view-port on small mobile screens
- versioning scheme is now independent of upstream
- provide fonts in
.eot
,svg
,.woff
andwoff2
file formats - JS assets are now compiled to make them safe for IE 11
- the
langNames
option is now properly detected by the layout template - the
demo/copy.cmd
script works now
- the nav bar's top margin is always dynamically set, with or without the search box present
- show npm installation steps in the README
- special development scripts for Windows users
- only code is copied to the clipboard, with no extra HTML markup
- use web-friendly Google fonts
- tweak styles, layout
- new
langNames
option to hide language names from code blocks - new
project
option to display version and repo information
- Malformed HTML when parsing 'default' JSDoc tags [issue: #48]
- Add dark theme.