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">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<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="sourceFolder" forTests="false" />
</component>

View File

@ -9,5 +9,5 @@ RUN npm ci
COPY . ./
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/

View File

@ -2,5 +2,5 @@ position: 3 # float position is supported
label: 'Auto-CreamAPI 2'
link:
type: 'doc'
id: 'index'
id: 'intro'
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.
*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'
link:
type: 'doc'
id: 'index'
id: 'intro'
collapsible: false

View File

@ -6,6 +6,7 @@
import {themes as prismThemes} from 'prism-react-renderer';
// noinspection CheckImageSize
/** @type {import('@docusaurus/types').Config} */
const config = {
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: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
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" >`,
},
prism: {
theme: prismThemes.github,

View File

@ -13,19 +13,7 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
defaultSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
/*tutorialSidebar: [
'intro',
//'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],*/
defaultSidebar: [{type: 'autogenerated', dirName: '.'}]
};
export default sidebars;

View File

@ -1,6 +1,7 @@
// index page
import clsx from 'clsx';
// noinspection ES6UnusedImports
import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
@ -19,21 +20,12 @@ function HomepageHeader() {
<Heading as="h1" className="hero__title">
<img className={styles.logo} alt={siteConfig.title} src={jeddunkxyzlogo} />
</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>
</header>
);
}
export default function Home() {
const {siteConfig} = useDocusaurusContext();
return (
<Layout>
<HomepageHeader />

View File

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