Skip to content

Commit

Permalink
Expose Changelog page (#2550)
Browse files Browse the repository at this point in the history
* Add link to changelog page from the /releases page

This was generated, but a link was missing.

* Fix weird error in changelog

* Add automatic reload
  • Loading branch information
fatso83 authored Sep 26, 2023
1 parent e1c3dad commit 03b1db5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 3 additions & 4 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ _Released by Morgan Roderick on 2023-09-13._
> - Support callable instances
>
> - Clean prettier lint
>
> ***
>
> Co-authored-by: - <->
_Released by [Carl-Erik Kopseng](https://github.com/fatso83) on 2023-06-20._

- [`d220c995`](https://github.com/sinonjs/sinon/commit/d220c99516ddb644d3702b4736bdfd311a2b05ec)
fix: bundling compatibility with webpack@5 (#2519) (Avi Vahl)
> - fix: bundling compatibility with webpack@5
Expand Down
4 changes: 4 additions & 0 deletions docs/releases.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@
<h1>Releases</h1>
In addition to our download page, you can also
<a href="#npm-cdns">use a NPM based CDN</a> for your convenience.

<h2>Changelog</h2>
You can see the full log of changes for each release on our separate <a href="./changelog">changelog page</a>.
</div>


<div class="in-content releases">
<ul>
{% assign sorted_releases = site.releases | sort: "sort_id" | reverse %}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"check-dependencies": "dependency-check package.json --no-dev --ignore-module esm",
"build": "node ./build.cjs",
"build-docs": "cd docs; bundle exec jekyll build",
"serve-docs": "cd docs; bundle exec jekyll serve --incremental --verbose",
"serve-docs": "cd docs; bundle exec jekyll serve --incremental --verbose --livereload",
"lint": "eslint --max-warnings 99 '**/*.{js,cjs,mjs}'",
"unimported": "unimported .",
"pretest-webworker": "npm run build",
Expand Down

0 comments on commit 03b1db5

Please sign in to comment.