bauble_core 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/.gitignore +20 -0
- data/docs/README.md +41 -0
- data/docs/docs/intro.md +47 -0
- data/docs/docs/tutorial-basics/_category_.json +8 -0
- data/docs/docs/tutorial-basics/congratulations.md +23 -0
- data/docs/docs/tutorial-basics/create-a-document.md +57 -0
- data/docs/docs/tutorial-basics/create-a-page.md +43 -0
- data/docs/docs/tutorial-basics/deploy-your-site.md +31 -0
- data/docs/docs/tutorial-basics/markdown-features.mdx +152 -0
- data/docs/docs/tutorial-extras/_category_.json +7 -0
- data/docs/docs/tutorial-extras/img/docsVersionDropdown.png +0 -0
- data/docs/docs/tutorial-extras/img/localeDropdown.png +0 -0
- data/docs/docs/tutorial-extras/manage-docs-versions.md +55 -0
- data/docs/docs/tutorial-extras/translate-your-site.md +88 -0
- data/docs/docusaurus.config.ts +124 -0
- data/docs/package-lock.json +16100 -0
- data/docs/package.json +47 -0
- data/docs/sidebars.ts +33 -0
- data/docs/src/components/HomepageFeatures/index.tsx +70 -0
- data/docs/src/components/HomepageFeatures/styles.module.css +11 -0
- data/docs/src/css/custom.css +30 -0
- data/docs/src/pages/index.module.css +23 -0
- data/docs/src/pages/index.tsx +43 -0
- data/docs/src/pages/markdown-page.md +7 -0
- data/docs/static/.nojekyll +0 -0
- data/docs/static/img/docusaurus-social-card.jpg +0 -0
- data/docs/static/img/docusaurus.png +0 -0
- data/docs/static/img/favicon.ico +0 -0
- data/docs/static/img/logo.svg +1 -0
- data/docs/static/img/undraw_docusaurus_mountain.svg +171 -0
- data/docs/static/img/undraw_docusaurus_react.svg +170 -0
- data/docs/static/img/undraw_docusaurus_tree.svg +40 -0
- data/docs/tsconfig.json +7 -0
- data/examples/basic-app/Gemfile +1 -1
- data/examples/basic-app/Gemfile.lock +2 -2
- data/lib/bauble/cli/cli.rb +23 -9
- data/lib/bauble/cli/commands/destroy.rb +2 -0
- data/lib/bauble/cli/commands/new.rb +0 -1
- data/lib/bauble/cli/commands/preview.rb +2 -0
- data/lib/bauble/cli/commands/up.rb +2 -0
- data/lib/bauble/version.rb +1 -1
- metadata +38 -5
@@ -0,0 +1,124 @@
|
|
1
|
+
import {themes as prismThemes} from 'prism-react-renderer';
|
2
|
+
import type {Config} from '@docusaurus/types';
|
3
|
+
import type * as Preset from '@docusaurus/preset-classic';
|
4
|
+
|
5
|
+
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
|
6
|
+
|
7
|
+
const config: Config = {
|
8
|
+
title: 'My Site',
|
9
|
+
tagline: 'Dinosaurs are cool',
|
10
|
+
favicon: 'img/favicon.ico',
|
11
|
+
|
12
|
+
// Set the production url of your site here
|
13
|
+
url: 'https://jamesh38.github.io',
|
14
|
+
// Set the /<baseUrl>/ pathname under which your site is served
|
15
|
+
// For GitHub pages deployment, it is often '/<projectName>/'
|
16
|
+
baseUrl: '/bauble',
|
17
|
+
trailingSlash: false,
|
18
|
+
|
19
|
+
// GitHub pages deployment config.
|
20
|
+
// If you aren't using GitHub pages, you don't need these.
|
21
|
+
organizationName: 'jamesh38', // Usually your GitHub org/user name.
|
22
|
+
projectName: 'bauble', // Usually your repo name.
|
23
|
+
|
24
|
+
onBrokenLinks: 'throw',
|
25
|
+
onBrokenMarkdownLinks: 'warn',
|
26
|
+
|
27
|
+
// Even if you don't use internationalization, you can use this field to set
|
28
|
+
// useful metadata like html lang. For example, if your site is Chinese, you
|
29
|
+
// may want to replace "en" with "zh-Hans".
|
30
|
+
i18n: {
|
31
|
+
defaultLocale: 'en',
|
32
|
+
locales: ['en'],
|
33
|
+
},
|
34
|
+
|
35
|
+
presets: [
|
36
|
+
[
|
37
|
+
'classic',
|
38
|
+
{
|
39
|
+
docs: {
|
40
|
+
sidebarPath: './sidebars.ts',
|
41
|
+
// Please change this to your repo.
|
42
|
+
// Remove this to remove the "edit this page" links.
|
43
|
+
editUrl:
|
44
|
+
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
|
45
|
+
},
|
46
|
+
theme: {
|
47
|
+
customCss: './src/css/custom.css',
|
48
|
+
},
|
49
|
+
} satisfies Preset.Options,
|
50
|
+
],
|
51
|
+
],
|
52
|
+
|
53
|
+
themeConfig: {
|
54
|
+
// Replace with your project's social card
|
55
|
+
image: 'img/docusaurus-social-card.jpg',
|
56
|
+
navbar: {
|
57
|
+
title: 'My Site',
|
58
|
+
logo: {
|
59
|
+
alt: 'My Site Logo',
|
60
|
+
src: 'img/logo.svg',
|
61
|
+
},
|
62
|
+
items: [
|
63
|
+
{
|
64
|
+
type: 'docSidebar',
|
65
|
+
sidebarId: 'tutorialSidebar',
|
66
|
+
position: 'left',
|
67
|
+
label: 'Tutorial',
|
68
|
+
},
|
69
|
+
{
|
70
|
+
href: 'https://github.com/facebook/docusaurus',
|
71
|
+
label: 'GitHub',
|
72
|
+
position: 'right',
|
73
|
+
},
|
74
|
+
],
|
75
|
+
},
|
76
|
+
footer: {
|
77
|
+
style: 'dark',
|
78
|
+
links: [
|
79
|
+
{
|
80
|
+
title: 'Docs',
|
81
|
+
items: [
|
82
|
+
{
|
83
|
+
label: 'Tutorial',
|
84
|
+
to: '/docs/intro',
|
85
|
+
},
|
86
|
+
],
|
87
|
+
},
|
88
|
+
{
|
89
|
+
title: 'Community',
|
90
|
+
items: [
|
91
|
+
{
|
92
|
+
label: 'Stack Overflow',
|
93
|
+
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
|
94
|
+
},
|
95
|
+
{
|
96
|
+
label: 'Discord',
|
97
|
+
href: 'https://discordapp.com/invite/docusaurus',
|
98
|
+
},
|
99
|
+
{
|
100
|
+
label: 'X',
|
101
|
+
href: 'https://x.com/docusaurus',
|
102
|
+
},
|
103
|
+
],
|
104
|
+
},
|
105
|
+
{
|
106
|
+
title: 'More',
|
107
|
+
items: [
|
108
|
+
{
|
109
|
+
label: 'GitHub',
|
110
|
+
href: 'https://github.com/facebook/docusaurus',
|
111
|
+
},
|
112
|
+
],
|
113
|
+
},
|
114
|
+
],
|
115
|
+
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
|
116
|
+
},
|
117
|
+
prism: {
|
118
|
+
theme: prismThemes.github,
|
119
|
+
darkTheme: prismThemes.dracula,
|
120
|
+
},
|
121
|
+
} satisfies Preset.ThemeConfig,
|
122
|
+
};
|
123
|
+
|
124
|
+
export default config;
|