Skip to content

Commit

Permalink
Merge branch 'master' into changes-to-vale
Browse files Browse the repository at this point in the history
  • Loading branch information
TC-MO authored Jan 15, 2024
2 parents f0bac53 + 29d9bfc commit 2f6e918
Show file tree
Hide file tree
Showing 7 changed files with 262 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/vale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41.0.1
uses: tj-actions/changed-files@v41.1.1
with:
files: |
**/*.{md,mdx}
Expand Down
13 changes: 7 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const { join } = require('path');
const { config } = require('./apify-docs-theme');
const { externalLinkProcessor } = require('./tools/utils/externalLink');
const { collectSlugs } = require('./tools/utils/collectSlugs');
Expand Down Expand Up @@ -30,21 +31,21 @@ module.exports = {
{
label: 'Courses',
to: `/academy`,
activeBaseRegex: [
activeBaseRegex: `${[
'academy$',
...collectSlugs(`${__dirname}/sources/academy/webscraping`),
...collectSlugs(`${__dirname}/sources/academy/platform`),
].join('|'),
...collectSlugs(join(__dirname, 'sources', 'academy', 'webscraping')),
...collectSlugs(join(__dirname, 'sources', 'academy', 'platform')),
].join('$|')}$`,
},
{
label: 'Tutorials',
to: `/academy/tutorials`,
activeBaseRegex: collectSlugs(`${__dirname}/sources/academy/tutorials`).join('|'),
activeBaseRegex: `${collectSlugs(join(__dirname, 'sources', 'academy', 'tutorials')).join('$|')}$`,
},
{
label: 'Glossary',
to: `/academy/glossary`,
activeBaseRegex: collectSlugs(`${__dirname}/sources/academy/glossary`).join('|'),
activeBaseRegex: `${collectSlugs(join(__dirname, 'sources', 'academy', 'glossary')).join('$|')}$`,
},
],
},
Expand Down
233 changes: 218 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2f6e918

Please sign in to comment.