@@ -8,10 +8,17 @@ For a list of issues targeted for the next release, see the [22Q2][] milestone.
88
99For a full list of the changes to this release, see the [ release notes] [ 0.5.0 ] .
1010
11+ ** New** :
12+
13+ - Projects can now install and use [ Docsy as an NPM package] [ ] .
14+
1115** Breaking changes** :
1216
1317- ...
1418
19+ [ docsy as an npm package] :
20+ https://www.docsy.dev/docs/get-started/other-options/#option-3-docsy-as-an-npm-package
21+
1522## [ 0.4.0] [ ]
1623
1724For a full list of the changes to this release, see the [ release notes] [ 0.4.0 ] .
@@ -25,62 +32,64 @@ For a full list of the changes to this release, see the [release notes][0.4.0].
2532 and FontAwesome. Migrate your site by following these steps (execute commands
2633 from your project's root directory):
2734
28- 1 . Update Docsy to 0.4.0.
29- 2 . Delete obsolete Docsy Git submodules:
35+ 1 . Update Docsy to 0.4.0.
36+ 2 . Delete obsolete Docsy Git submodules:
3037 ``` console
3138 $ rm -Rf themes/docsy/assets/vendor
3239 ```
33- 3. Get Docsy dependencies:
40+ 3. Get Docsy dependencies:
3441 ```console
3542 $ (cd themes/docsy && npm install)
3643 ```
37- 4. (Optional) If your site project uses NPM, consider getting Docsy
38- dependencies via a ` prepare` script, for example :
44+ 4. (Optional) If your site uses NPM, consider getting Docsy dependencies via
45+ a [ prepare][] script as follows :
3946 ```json
4047 {
4148 "name": "my-website",
4249 "scripts": {
43- "get:submodule": "git submodule update --init --depth 1",
44- "_prepare:docsy": "cd themes/docsy && npm install",
45- "prepare": "npm run get:submodule && npm run _prepare:docsy",
50+ "prepare": "cd themes/docsy && npm install",
4651 "...": "..."
4752 },
4853 "...": "..."
4954 }
5055 ```
51- 5. Proceed as usual to build or serve your site.
56+ 5. Proceed as usual to build or serve your site.
5257
53- [Hugo Modules]: https://www.docsy.dev/docs/get-started/docsy-as-module/
54- [other Docsy setups]: https://www.docsy.dev/docs/get-started/other-options/
58+ [hugo modules]: https://www.docsy.dev/docs/get-started/docsy-as-module/
59+ [other docsy setups]: https://www.docsy.dev/docs/get-started/other-options/
60+ [prepare]:
61+ https://docs.npmjs.com/cli/v8/using-npm/scripts#prepare-and-prepublish
5562
5663## [0.3.0][]
5764
5865For a full list of the changes to this release, see the [release notes][0.3.0].
5966
6067**Breaking changes**:
6168
62- - Upgrade to [Algolia DocSearch
63- v3](https://docsearch.algolia.com/docs/DocSearch-v3). If your site uses the
64- deprecated DocSearch v2, you must [update your DocSearch
65- code](https://docsearch.algolia.com/docs/migrating-from-v2).
69+ - Upgrade to
70+ [Algolia DocSearch v3](https://docsearch.algolia.com/docs/DocSearch-v3). If
71+ your site uses the deprecated DocSearch v2, you must
72+ [update your DocSearch code](https://docsearch.algolia.com/docs/migrating-from-v2).
6673
6774## [0.2.0][]
6875
6976**New**:
7077
71- - Add official Docsy support for [Hugo modules][]. Many thanks to the dedicated and
72- patient efforts of [@deining][], who researched, experimented, and implemented
73- this feature. Thanks to [@deining][] and [@LisaFC][] for the doc updates.
78+ - Add official Docsy support for [Hugo modules][]. Many thanks to the dedicated
79+ and patient efforts of [@deining][], who researched, experimented, and
80+ implemented this feature. Thanks to [@deining][] and [@LisaFC][] for the doc
81+ updates.
7482
75- For details, see [Migrate to Hugo Modules](https://www.docsy.dev/docs/updating/convert-site-to-module/).
83+ For details, see
84+ [Migrate to Hugo Modules](https://www.docsy.dev/docs/updating/convert-site-to-module/).
7685
7786**Details**:
7887
7988- For a full list of the changes to this release, see the [release notes][0.2.0]
8089
8190## [0.X.Y][] - next planned release (unpublished yet)
8291
83- For a full list of the changes to this release, see the [release notes][0.X.Y ].
92+ For a full list of the changes to this release, see the [release notes][0.x.y ].
8493
8594**Breaking changes**:
8695
@@ -92,7 +101,7 @@ For a full list of the changes to this release, see the [release notes][0.X.Y].
92101[0.3.0]: https://github.com/google/docsy/releases/v0.3.0
93102[0.4.0]: https://github.com/google/docsy/releases/v0.4.0
94103[0.5.0]: https://github.com/google/docsy/releases/v0.5.0
95- [0.X.Y ]: #
104+ [0.x.y ]: #
96105[22q2]: https://github.com/google/docsy/milestone/3
97106[hugo modules]: https://gohugo.io/hugo-modules/
98107[latest]: https://github.com/google/docsy/releases/latest
0 commit comments