Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: docusaurus v3.2.1 #462

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 4 additions & 23 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,37 +70,18 @@ module.exports = {
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: "/",
routeBasePath: '/',
path: 'preview',
sidebarCollapsible: false,
// Please change this to your repo.
editUrl:
'https://github.com/arcus-azure/arcus.webapi/edit/master/docs',
includeCurrentVersion:process.env.CONTEXT !== 'production',
sidebarItemsGenerator: async function ({
defaultSidebarItemsGenerator,
...args
}) {
const sidebarItems = await defaultSidebarItemsGenerator(args);
const capitalizeLabels = (items) => {
return items?.map(item => ({
...item,
label: item.label?.charAt(0).toUpperCase() + item.label?.slice(1),
items: item.items ? capitalizeLabels(item.items) : null
}));
}

return capitalizeLabels(sidebarItems)
}

editUrl: 'https://github.com/arcus-azure/arcus.webapi/edit/master/docs',
includeCurrentVersion: process.env.CONTEXT !== 'production',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
stylesheets: [
'https://fonts.googleapis.com/css2?family=Bitter:wght@700&family=Inter:wght@400;500&display=swap',
],
stylesheets: ['https://fonts.googleapis.com/css2?family=Bitter:wght@700&family=Inter:wght@400;500&display=swap'],
};
32,100 changes: 10,448 additions & 21,652 deletions docs/package-lock.json

Large diffs are not rendered by default.

19 changes: 11 additions & 8 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-beta.6",
"@docusaurus/preset-classic": "^2.0.0-beta.6",
"@docusaurus/theme-search-algolia": "^2.0.0-beta.6",
"@mdx-js/react": "^1.6.21",
"@svgr/webpack": "^5.5.0",
"@docusaurus/core": "3.2.1",
"@docusaurus/preset-classic": "3.2.1",
"@docusaurus/theme-search-algolia": "3.2.1",
"@mdx-js/react": "^3.0.0",
"@svgr/webpack": "^8.1.0",
"clsx": "^1.2.1",
"file-loader": "^6.2.0",
"prism-react-renderer": "^1.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"prism-react-renderer": "^2.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"url-loader": "^4.1.1"
},
"browserslist": {
Expand All @@ -37,5 +37,8 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"engines": {
"node": ">=18.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This user guide will walk through the process of adding shared access key authen

## Terminology
To fully understand this user guide, some terminology is required:
* **Shared access key**: a single secret that's being used as the authentication mechanism of many API endpoints. Using a single secret means that there's also a single authorization level.
* **Shared access key**: a single secret that's being used as the authentication mechanism of many API endpoints. Using a single secret means that there is also a single authorization level.
* **Arcus secret store**: central place where the application retrieve its secrets ([more info](https://security.arcus-azure.net/features/secret-store)).

## Sample application
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_sidebars/version-v0.1.0-sidebars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-v0.1.0/tutorialSidebar": [
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_sidebars/version-v0.2.0-sidebars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-v0.2.0/tutorialSidebar": [
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_sidebars/version-v0.3.0-sidebars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-v0.3.0/tutorialSidebar": [
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_sidebars/version-v0.4.0-sidebars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-v0.4.0/tutorialSidebar": [
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_sidebars/version-v1.0.0-sidebars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-v1.0.0/tutorialSidebar": [
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_sidebars/version-v1.1.0-sidebars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-v1.1.0/tutorialSidebar": [
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_sidebars/version-v1.2.0-sidebars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-v1.2.0/tutorialSidebar": [
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_sidebars/version-v1.3.0-sidebars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-v1.3.0/tutorialSidebar": [
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_sidebars/version-v1.4.0-sidebars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-v1.4.0/tutorialSidebar": [
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ID = "b0838013-ab4a-4e8d-a266-0eb61405ad77"
# functions = "project/functions/"

[build.environment]
NODE_VERSION = "16.14"
NODE_VERSION = "18.19.0"

# Production context: all deploys from the Production branch set in your site's
# deploy settings will inherit these settings.
Expand Down
Loading