Skip to content

Commit

Permalink
Fix reference docs paths
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed May 27, 2024
1 parent 8599cef commit 74c4bcd
Show file tree
Hide file tree
Showing 41 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion examples/cdn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@


## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/cdn).
Check out the official [documentation](https://rc.css.master.co/guide/installation/cdn).
2 changes: 1 addition & 1 deletion examples/lit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/lit).
Check out the official [documentation](https://rc.css.master.co/guide/installation/lit).
2 changes: 1 addition & 1 deletion examples/next.js-with-runtime-rendering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/nextjs/runtime-rendering).
Check out the official [documentation](https://rc.css.master.co/guide/installation/nextjs/runtime-rendering).
2 changes: 1 addition & 1 deletion examples/next.js-with-static-extraction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/nextjs/static-extraction).
Check out the official [documentation](https://rc.css.master.co/guide/installation/nextjs/static-extraction).
2 changes: 1 addition & 1 deletion examples/next.js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/nextjs).
Check out the official [documentation](https://rc.css.master.co/guide/installation/nextjs).
2 changes: 1 addition & 1 deletion examples/nuxt.js-with-runtime-rendering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/nuxtjs/runtime-rendering).
Check out the official [documentation](https://rc.css.master.co/guide/installation/nuxtjs/runtime-rendering).
2 changes: 1 addition & 1 deletion examples/nuxt.js-with-static-extraction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/nuxtjs/static-extraction).
Check out the official [documentation](https://rc.css.master.co/guide/installation/nuxtjs/static-extraction).
2 changes: 1 addition & 1 deletion examples/nuxt.js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/nuxtjs).
Check out the official [documentation](https://rc.css.master.co/guide/installation/nuxtjs).
2 changes: 1 addition & 1 deletion examples/react-with-static-extraction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/react/static-extraction).
Check out the official [documentation](https://rc.css.master.co/guide/installation/react/static-extraction).
2 changes: 1 addition & 1 deletion examples/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/react/runtime-rendering).
Check out the official [documentation](https://rc.css.master.co/guide/installation/react/runtime-rendering).
2 changes: 1 addition & 1 deletion examples/remix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/remix).
Check out the official [documentation](https://rc.css.master.co/guide/installation/remix).
2 changes: 1 addition & 1 deletion examples/svelte-with-runtime-rendering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/svelte/runtime-rendering).
Check out the official [documentation](https://rc.css.master.co/guide/installation/svelte/runtime-rendering).
2 changes: 1 addition & 1 deletion examples/svelte-with-static-extraction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/svelte/static-extraction).
Check out the official [documentation](https://rc.css.master.co/guide/installation/svelte/static-extraction).
2 changes: 1 addition & 1 deletion examples/svelte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/svelte).
Check out the official [documentation](https://rc.css.master.co/guide/installation/svelte).
2 changes: 1 addition & 1 deletion examples/vite-with-static-extraction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/vite/static-extraction).
Check out the official [documentation](https://rc.css.master.co/guide/installation/vite/static-extraction).
2 changes: 1 addition & 1 deletion examples/vite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/vite).
Check out the official [documentation](https://rc.css.master.co/guide/installation/vite).
2 changes: 1 addition & 1 deletion examples/webpack-with-static-extraction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/webpack/static-extraction).
Check out the official [documentation](https://rc.css.master.co/guide/installation/webpack/static-extraction).
2 changes: 1 addition & 1 deletion examples/webpack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/webpack/runtime-rendering).
Check out the official [documentation](https://rc.css.master.co/guide/installation/webpack/runtime-rendering).
2 changes: 1 addition & 1 deletion packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/cli).
Check out the official [documentation](https://rc.css.master.co/reference/cli).
2 changes: 1 addition & 1 deletion packages/create/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/extractor).
Check out the official [documentation](https://rc.css.master.co/reference/extractor).
2 changes: 1 addition & 1 deletion packages/eslint-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/code-linting).
Check out the official [documentation](https://rc.css.master.co/guide/code-linting).
2 changes: 1 addition & 1 deletion packages/eslint-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/code-linting).
Check out the official [documentation](https://rc.css.master.co/guide/code-linting).

## Credits
This plugin is heavily inspired by the awesome [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss). We want to thank for their initial work, which served as the foundation for this project. While significant modifications have been made, the core ideas and concepts from A Plugin have been instrumental in developing this plugin.
2 changes: 1 addition & 1 deletion packages/extractor.vite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ export default config
```

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/vite/static-extraction).
Check out the official [documentation](https://rc.css.master.co/guide/installation/vite/static-extraction).
2 changes: 1 addition & 1 deletion packages/extractor.webpack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ module.exports = {
```

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/webpack/static-extraction).
Check out the official [documentation](https://rc.css.master.co/guide/installation/webpack/static-extraction).
2 changes: 1 addition & 1 deletion packages/extractor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/extractor).
Check out the official [documentation](https://rc.css.master.co/reference/extractor).
2 changes: 1 addition & 1 deletion packages/language-service/src/features/inspect-syntax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function inspectSyntax(this: CSSLanguageService, document: TextDo
const nativeCSSPropertyData = nativeProperties.find(({ name }) => name === rule.id)
const documentation = getCSSDataDocumentation(nativeCSSPropertyData, {
generatedCSS: generateCSS([token], this.css),
docs: '/reference/' + isCoreRule(rule.id) && rule.id
docs: '/reference/' + (isCoreRule(rule.id) && rule.id)
})
if (documentation) {
return {
Expand Down
4 changes: 2 additions & 2 deletions packages/language-service/tests/inspect-syntax.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test.concurrent('text:center', async () => {
Syntax: start | end | left | right | center | justify | match\\-parent
[Master CSS](https://rc.css.master.co/docs/text-align) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-align)
[Master CSS](https://rc.css.master.co/reference/text-align) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-align)
`
})
})
Expand All @@ -51,7 +51,7 @@ test.concurrent('hidden', async () => {
The element and its descendants generates no boxes\\.
[Master CSS](https://rc.css.master.co/docs/display)
[Master CSS](https://rc.css.master.co/reference/display)
`
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe.concurrent('pseudo-class', () => {
(Edge 12, Firefox 3, Safari 3, Chrome 4, IE 7, Opera 9)
[Master CSS](https://rc.css.master.co/docs/selectors) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/:first-child)
[Master CSS](https://rc.css.master.co/reference/selectors) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/:first-child)
`,
},
'insertText': 'first',
Expand Down Expand Up @@ -88,7 +88,7 @@ describe.concurrent('pseudo-element', () => {
(Edge 79, Firefox 51, Safari 10, Chrome 57, Opera 44)
[Master CSS](https://rc.css.master.co/docs/selectors) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/::placeholder)
[Master CSS](https://rc.css.master.co/reference/selectors) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/::placeholder)
`,
},
'insertText': 'placeholder',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ it.concurrent('info', () => expect(hint('b', settings)?.find(({ label }) => labe
}
\`\`\`
[Master CSS](https://rc.css.master.co/docs/styles)
[Master CSS](https://rc.css.master.co/reference/styles)
`
}
}))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test.concurrent('info', () => expect(hint('b')?.find(({ label }) => label === 'b
The element generates a block\\-level box
[Master CSS](https://rc.css.master.co/docs/display)
[Master CSS](https://rc.css.master.co/reference/display)
`
}
}))
6 changes: 3 additions & 3 deletions packages/language-service/tests/suggest-syntax/values.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe.concurrent('detail and documentation', () => {
Syntax: &lt;family\\-name&gt;
[Master CSS](https://rc.css.master.co/docs/font-family) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-family)
[Master CSS](https://rc.css.master.co/reference/font-family) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-family)
`
}
}))
Expand All @@ -57,7 +57,7 @@ describe.concurrent('detail and documentation', () => {
Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not
[Master CSS](https://rc.css.master.co/docs/font-style) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-style)
[Master CSS](https://rc.css.master.co/reference/font-style) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-style)
`
}
}))
Expand All @@ -81,7 +81,7 @@ describe.concurrent('retype on no hints', () => {
The element generates a block\\-level box
[Master CSS](https://rc.css.master.co/docs/display) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/display)
[Master CSS](https://rc.css.master.co/reference/display) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/display)
`
}
}))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe.concurrent('scope', () => {
Syntax: &lt;color&gt;
[Master CSS](https://rc.css.master.co/docs/color) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color)
[Master CSS](https://rc.css.master.co/reference/color) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color)
`,
}
}))
Expand All @@ -55,7 +55,7 @@ describe.concurrent('scope', () => {
Syntax: content\\-box | border\\-box
[Master CSS](https://rc.css.master.co/docs/box-sizing) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-sizing)
[Master CSS](https://rc.css.master.co/reference/box-sizing) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-sizing)
`}
}))
})
Expand Down Expand Up @@ -88,7 +88,7 @@ describe.concurrent('scope and global', () => {
Syntax: &lt;color&gt;
[Master CSS](https://rc.css.master.co/docs/color) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color)`,
[Master CSS](https://rc.css.master.co/reference/color) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color)`,
},
'kind': 16,
'label': 'blue',
Expand Down Expand Up @@ -117,7 +117,7 @@ describe.concurrent('scope and global', () => {
Syntax: &lt;color&gt;
[Master CSS](https://rc.css.master.co/docs/color) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color)`,
[Master CSS](https://rc.css.master.co/reference/color) | [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color)`,
},
'kind': 16,
'label': '$(blue)',
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/nuxtjs).
Check out the official [documentation](https://rc.css.master.co/guide/installation/nuxtjs).
2 changes: 1 addition & 1 deletion packages/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/react).
Check out the official [documentation](https://rc.css.master.co/guide/installation/react).
4 changes: 2 additions & 2 deletions packages/runtime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
</div>

## Documentation
- [General Installation](https://rc.css.master.co/docs/installation/general)
- [Using CDNs](https://rc.css.master.co/docs/installation/cdn)
- [General Installation](https://rc.css.master.co/guide/installation/general)
- [Using CDNs](https://rc.css.master.co/guide/installation/cdn)
2 changes: 1 addition & 1 deletion packages/server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/server).
Check out the official [documentation](https://rc.css.master.co/reference/server).
2 changes: 1 addition & 1 deletion packages/svelte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/svelte).
Check out the official [documentation](https://rc.css.master.co/guide/installation/svelte).
2 changes: 1 addition & 1 deletion packages/validator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/validator).
Check out the official [documentation](https://rc.css.master.co/reference/validator).
2 changes: 1 addition & 1 deletion packages/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"displayName": "Master CSS",
"author": "Aoyue Design LLC.",
"funding": "https://css.master.co/docs/donate",
"homepage": "https://rc.css.master.co/docs/installation/language-service",
"homepage": "https://rc.css.master.co/guide/installation/language-service",
"license": "MIT",
"publisher": "masterco",
"icon": "icon.png",
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
</div>

## Documentation
Check out the official [documentation](https://rc.css.master.co/docs/installation/vue).
Check out the official [documentation](https://rc.css.master.co/guide/installation/vue).
Loading

0 comments on commit 74c4bcd

Please sign in to comment.