Skip to content
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
289 changes: 144 additions & 145 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,161 +267,160 @@ module.exports = {
},
],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({
docs: {
versionPersistence: 'localStorage',
sidebar: {
hideable: true,
},
themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({
docs: {
versionPersistence: 'localStorage',
sidebar: {
hideable: true,
},
navbar: {
hideOnScroll: true,
logo: {
src: 'img/crawlee-python-light.svg',
srcDark: 'img/crawlee-python-dark.svg',
},
title: 'Crawlee for Python',
items: [
{
type: 'doc',
docId: 'quick-start/quick-start',
label: 'Docs',
position: 'left',
},
{
type: 'doc',
docId: '/examples',
label: 'Examples',
position: 'left',
},
{
type: 'custom-api',
label: 'API',
position: 'left',
activeBaseRegex: 'api/(?!.*/changelog)',
},
{
type: 'doc',
label: 'Changelog',
docId: 'changelog',
className: 'changelog',
},
{
href: 'https://crawlee.dev/blog',
target: '_self',
rel: 'dofollow',
label: 'Blog',
position: 'left',
},
{
type: 'docsVersionDropdown',
position: 'right',
dropdownItemsBefore: [],
dropdownItemsAfter: [],
},
],
},
navbar: {
hideOnScroll: true,
logo: {
src: 'img/crawlee-python-light.svg',
srcDark: 'img/crawlee-python-dark.svg',
},
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true,
title: 'Crawlee for Python',
items: [
{
type: 'doc',
docId: 'quick-start/quick-start',
label: 'Docs',
position: 'left',
},
{
type: 'doc',
docId: '/examples',
label: 'Examples',
position: 'left',
},
{
type: 'custom-api',
label: 'API',
position: 'left',
activeBaseRegex: 'api/(?!.*/changelog)',
},
{
type: 'doc',
label: 'Changelog',
docId: 'changelog',
className: 'changelog',
},
{
href: 'https://crawlee.dev/blog',
target: '_self',
rel: 'dofollow',
label: 'Blog',
position: 'left',
},
{
type: 'docsVersionDropdown',
position: 'right',
dropdownItemsBefore: [],
dropdownItemsAfter: [],
},
],
},
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true,
},
prism: {
defaultLanguage: 'typescript',
theme: require('prism-react-renderer').themes.github,
darkTheme: require('prism-react-renderer').themes.dracula,
additionalLanguages: ['docker', 'log', 'bash', 'diff', 'json'],
},
metadata: [
// eslint-disable-next-line max-len
{
name: 'description',
content: `Crawlee helps you build and maintain your Python crawlers. It's open source and modern, with type hints for Python to help you catch bugs early.`,
},
prism: {
defaultLanguage: 'typescript',
theme: require('prism-react-renderer').themes.github,
darkTheme: require('prism-react-renderer').themes.dracula,
additionalLanguages: ['docker', 'log', 'bash', 'diff', 'json'],
// eslint-disable-next-line max-len
{
name: 'og:description',
content: `Crawlee helps you build and maintain your Python crawlers. It's open source and modern, with type hints for Python to help you catch bugs early.`,
},
metadata: [
// eslint-disable-next-line max-len
],
image: 'img/crawlee-python-og.png',
footer: {
links: [
{
title: 'Docs',
items: [
{
label: 'Guides',
to: 'docs/guides',
},
{
label: 'Examples',
to: 'docs/examples',
},
{
label: 'API reference',
to: 'api',
},
{
label: 'Changelog',
to: 'docs/changelog',
},
],
},
{
name: 'description',
content: `Crawlee helps you build and maintain your Python crawlers. It's open source and modern, with type hints for Python to help you catch bugs early.`,
title: 'Product',
items: [
{
label: 'Discord',
href: 'https://discord.com/invite/jyEM2PRvMU',
},
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/crawlee-python',
},
{
label: 'Twitter',
href: 'https://twitter.com/apify',
},
{
label: 'YouTube',
href: 'https://www.youtube.com/apify',
},
],
},
// eslint-disable-next-line max-len
{
name: 'og:description',
content: `Crawlee helps you build and maintain your Python crawlers. It's open source and modern, with type hints for Python to help you catch bugs early.`,
title: 'More',
items: [
{
label: 'Apify platform',
href: 'https://apify.com',
},
{
label: 'Docusaurus',
href: 'https://docusaurus.io',
},
{
label: 'GitHub',
href: 'https://github.com/apify/crawlee-python',
},
],
},
],
image: 'img/crawlee-python-og.png',
footer: {
links: [
{
title: 'Docs',
items: [
{
label: 'Guides',
to: 'docs/guides',
},
{
label: 'Examples',
to: 'docs/examples',
},
{
label: 'API reference',
to: 'api',
},
{
label: 'Changelog',
to: 'docs/changelog',
},
],
},
{
title: 'Product',
items: [
{
label: 'Discord',
href: 'https://discord.com/invite/jyEM2PRvMU',
},
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/crawlee-python',
},
{
label: 'Twitter',
href: 'https://twitter.com/apify',
},
{
label: 'YouTube',
href: 'https://www.youtube.com/apify',
},
],
},
{
title: 'More',
items: [
{
label: 'Apify platform',
href: 'https://apify.com',
},
{
label: 'Docusaurus',
href: 'https://docusaurus.io',
},
{
label: 'GitHub',
href: 'https://github.com/apify/crawlee-python',
},
],
},
],
},
algolia: {
appId: '5JC94MPMLY',
apiKey: '878493fcd7001e3c179b6db6796a999b', // search only (public) API key
indexName: 'crawlee_python',
placeholder: 'Search documentation',
algoliaOptions: {
facetFilters: ['version:VERSION'],
},
algolia: {
appId: '5JC94MPMLY',
apiKey: '878493fcd7001e3c179b6db6796a999b', // search only (public) API key
indexName: 'crawlee_python',
placeholder: 'Search documentation',
algoliaOptions: {
facetFilters: ['version:VERSION'],
},
translations: {
button: {
buttonText: 'Search documentation...',
},
translations: {
button: {
buttonText: 'Search documentation...',
},
},
}),
},
}),
};
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"fs-extra": "^11.1.0",
"markdownlint": "^0.41.0",
"markdownlint-cli": "^0.49.0",
"oxfmt": "^0.58.0",
"oxfmt": "^0.59.0",
"oxlint": "^1.73.0",
"patch-package": "^8.0.0",
"path-browserify": "^1.0.1",
Expand Down
Loading
Loading