Rename documentation files, simplify Dockerfile, update module exclusions and category IDs, remove unused software section and comments
This commit is contained in:
Jeddunk 2024-07-25 20:23:47 +02:00
parent 565b2adeb1
commit febb0b52d2
10 changed files with 13 additions and 40 deletions

View File

@ -2,7 +2,12 @@
<module type="JAVA_MODULE" version="4"> <module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true"> <component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output /> <exclude-output />
<content url="file://$MODULE_DIR$" /> <content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/.docusaurus" />
<excludeFolder url="file://$MODULE_DIR$/.idea" />
<excludeFolder url="file://$MODULE_DIR$/build" />
</content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>

View File

@ -9,5 +9,5 @@ RUN npm ci
COPY . ./ COPY . ./
RUN npm run build RUN npm run build
FROM nginx:stable-alpine${ALPINE_VERSION} FROM nginx:stable-alpine${ALPINE_VERSION} AS production
COPY --from=builder /build-stage/build /usr/share/nginx/html/ COPY --from=builder /build-stage/build /usr/share/nginx/html/

View File

@ -2,5 +2,5 @@ position: 3 # float position is supported
label: 'Auto-CreamAPI 2' label: 'Auto-CreamAPI 2'
link: link:
type: 'doc' type: 'doc'
id: 'index' id: 'intro'
collapsible: false collapsible: false

View File

@ -29,8 +29,3 @@ Auto-CreamAPI itself is licensed under the GNU General Public License v3.0
CreamAPI © 2016-2024, deadmau5. All Rights Reserved. CreamAPI © 2016-2024, deadmau5. All Rights Reserved.
*Dependencies will be listed ASAP.* *Dependencies will be listed ASAP.*
## Software used
[![](https://jeddunk.xyz/jetbrains-small.png)](https://www.jetbrains.com/?from=Auto-CreamAPI)
[Made with software provided by JetBrains s.r.o.](https://www.jetbrains.com/?from=Auto-CreamAPI)

View File

@ -2,5 +2,5 @@ position: 2 # float position is supported
label: 'GoldbergGUI' label: 'GoldbergGUI'
link: link:
type: 'doc' type: 'doc'
id: 'index' id: 'intro'
collapsible: false collapsible: false

View File

@ -6,6 +6,7 @@
import {themes as prismThemes} from 'prism-react-renderer'; import {themes as prismThemes} from 'prism-react-renderer';
// noinspection CheckImageSize
/** @type {import('@docusaurus/types').Config} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
title: 'jeddunk.xyz', title: 'jeddunk.xyz',
@ -132,8 +133,7 @@ const config = {
], ],
}, },
], ],
copyright: `<img src="/img/monkey-face_1f435.png" height="20px" width="20px" ><img src="/img/pistol_1f52b.png" height="20px" width="20px" >`, copyright: `<img alt="monkey" src="/img/monkey-face_1f435.png" height="20px" width="20px" ><img alt="pistol" src="/img/pistol_1f52b.png" height="20px" width="20px" >`,
//copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
}, },
prism: { prism: {
theme: prismThemes.github, theme: prismThemes.github,

View File

@ -13,19 +13,7 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = { const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure defaultSidebar: [{type: 'autogenerated', dirName: '.'}]
defaultSidebar: [{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; export default sidebars;

View File

@ -1,6 +1,7 @@
// index page // index page
import clsx from 'clsx'; import clsx from 'clsx';
// noinspection ES6UnusedImports
import Link from '@docusaurus/Link'; import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout'; import Layout from '@theme/Layout';
@ -19,21 +20,12 @@ function HomepageHeader() {
<Heading as="h1" className="hero__title"> <Heading as="h1" className="hero__title">
<img className={styles.logo} alt={siteConfig.title} src={jeddunkxyzlogo} /> <img className={styles.logo} alt={siteConfig.title} src={jeddunkxyzlogo} />
</Heading> </Heading>
{/*<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus Tutorial - 5min
</Link>
</div>*/}
</div> </div>
</header> </header>
); );
} }
export default function Home() { export default function Home() {
const {siteConfig} = useDocusaurusContext();
return ( return (
<Layout> <Layout>
<HomepageHeader /> <HomepageHeader />

View File

@ -1,7 +0,0 @@
---
title: Markdown page example
---
# Markdown page example
You don't need React to write simple standalone pages.