Skip to content

Commit

Permalink
Update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Keene committed Nov 27, 2023
1 parent f68820c commit 833d1e3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 38 deletions.
20 changes: 4 additions & 16 deletions api-docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,16 @@ import { themes as prismThemes } from 'prism-react-renderer';
const config = {
title: 'Snowplow Javascript API Docs',
favicon: 'img/favicon.ico',
// Set the production url of your site here
url: 'http://snowplow.github.io/',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/snowplow-javascript-tracker/',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'snowplow', // Usually your GitHub org/user name.
projectName: 'js-api-docs', // Usually your repo name.

organizationName: 'snowplow',
projectName: 'snowplow-javascript-tracker',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',

// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
},

presets: [
[
'classic',
Expand All @@ -55,8 +43,8 @@ const config = {
title: 'API Docs',
logo: {
src: 'img/favicon.ico',
href: '/docs', // Default to `siteConfig.baseUrl`.
target: '_self', // By default, this value is calculated based on the `href` attribute (the external link will open in a new tab, all others in the current one).
href: '/docs',
target: '_self',
},
items: [
{
Expand Down
14 changes: 0 additions & 14 deletions api-docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,7 @@

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }],

// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
*/
};

export default sidebars;
7 changes: 0 additions & 7 deletions api-docs/src/pages/markdown-page.md

This file was deleted.

1 change: 0 additions & 1 deletion api-docs/static/img/logo.svg

This file was deleted.

0 comments on commit 833d1e3

Please sign in to comment.