Skip to content

Commit c534520

Browse files
committed
v1.2.0
1 parent 1fba5b5 commit c534520

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.2.0](https://github.com/metonym/svelte-readme/releases/tag/v1.2.0) - 2020-12-21
9+
10+
**Features**
11+
12+
- Infer `prefixUrl` from `package.json#homepage`
13+
- Slugify headings
14+
- Add `disableDefaultCSS` option to omit default GitHub styles
15+
16+
**Fixes**
17+
18+
- Do not prefix anchor links that start with `#`
19+
820
## [1.1.0](https://github.com/metonym/svelte-readme/releases/tag/v1.1.0) - 2020-11-28
921

1022
**Features**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-readme",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"license": "MIT",
55
"description": "Use your README.md file for Svelte component documentation",
66
"author": "Eric Liu (https://github.com/metonym)",

src/createConfig.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,16 @@ const custom_css = `
7676
`;
7777

7878
/**
79-
*
79+
* createConfig
8080
* @param {Object} opts
8181
* @param {boolean} opts.minify - set to `true` to minify the HTML/JS
8282
* @param {string} opts.outDir - set the folder to emit the files
8383
* @param {string} opts.style - custom CSS appended to the <style> block
8484
* @param {boolean} opts.disableDefaultCSS - set to `true` to omit the default GitHub styles
85-
*
85+
* @param {string} opts.prefixUrl - Value to prepend to relative URLs (i.e. GitHub repo URL)
86+
* @param {object} opts.svelte - `rollup-plugin-svelte` options
87+
* @param {Array} opts.plugins - Rollup plugins
88+
* @param {object} opts.output - Rollup output options
8689
*/
8790
export default function createConfig(opts) {
8891
const minify = opts.minify === true;

0 commit comments

Comments
 (0)