Skip to content

Commit

Permalink
chore: docusaurus v3.2.1 (#462)
Browse files Browse the repository at this point in the history
* chore: Bump axios, @docusaurus/core, @docusaurus/preset-classic and @docusaurus/theme-search-algolia

Removes [axios](https://github.com/axios/axios). It's no longer used after updating ancestor dependencies [axios](https://github.com/axios/axios), [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus), [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) and [@docusaurus/theme-search-algolia](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-theme-search-algolia). These dependencies need to be updated together.


Removes `axios`

Updates `@docusaurus/core` from 2.0.0-beta.6 to 3.0.1
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.1/packages/docusaurus)

Updates `@docusaurus/preset-classic` from 2.0.0-beta.6 to 3.0.1
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.1/packages/docusaurus-preset-classic)

Updates `@docusaurus/theme-search-algolia` from 2.0.0-beta.6 to 3.0.1
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.0.1/packages/docusaurus-theme-search-algolia)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
- dependency-name: "@docusaurus/theme-search-algolia"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* upgrades

* netlify build version

* repush for netlify build

* capitalizing sidebar removed

* build config

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Laurens - Codit BE <laurens.vancauwelaert@codit.eu>
  • Loading branch information
3 people authored Apr 26, 2024
1 parent 6cba745 commit 4b9bf25
Show file tree
Hide file tree
Showing 14 changed files with 10,474 additions and 21,694 deletions.
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

0 comments on commit 4b9bf25

Please sign in to comment.