This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/master by this push:
new b371b9379 Clean up references to old project name.
b371b9379 is described below
commit b371b93798b9b903c88bb357bea73f7a584e6fdf
Author: James Bognar <[email protected]>
AuthorDate: Wed Sep 24 10:16:07 2025 -0400
Clean up references to old project name.
---
.github/workflows/deploy-docs.yml | 10 +-
juneau-docs-poc/docusaurus.config.ts | 210 -----------------------------------
2 files changed, 5 insertions(+), 215 deletions(-)
diff --git a/.github/workflows/deploy-docs.yml
b/.github/workflows/deploy-docs.yml
index ff1dfa9ab..ebae4c443 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -18,7 +18,7 @@ on:
push:
branches: [master]
paths:
- - 'juneau-docs-poc/**'
+ - 'juneau-docs/**'
- '.github/workflows/deploy-docs.yml'
permissions:
@@ -37,23 +37,23 @@ jobs:
with:
node-version: '18'
cache: 'npm'
- cache-dependency-path: juneau-docs-poc/package-lock.json
+ cache-dependency-path: juneau-docs/package-lock.json
- name: Install dependencies
run: |
- cd juneau-docs-poc
+ cd juneau-docs
npm ci
- name: Build Docusaurus
run: |
- cd juneau-docs-poc
+ cd juneau-docs
npm run build
- name: Deploy to staging branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./juneau-docs-poc/build
+ publish_dir: ./juneau-docs/build
publish_branch: asf-staging # Safe staging deployment
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
diff --git a/juneau-docs-poc/docusaurus.config.ts
b/juneau-docs-poc/docusaurus.config.ts
deleted file mode 100644
index 764605bf1..000000000
--- a/juneau-docs-poc/docusaurus.config.ts
+++ /dev/null
@@ -1,210 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file
- * distributed with this work for additional information regarding copyright
ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied. See the License for the
- * specific language governing permissions and limitations under the License.
- */
-
-import {themes as prismThemes} from 'prism-react-renderer';
-import type {Config} from '@docusaurus/types';
-import type * as Preset from '@docusaurus/preset-classic';
-import remarkJuneauLinks from './src/plugins/remark-juneau-links';
-
-// This runs in Node.js - Don't use client-side code here (browser APIs,
JSX...)
-
-const config: Config = {
- title: 'Apache Juneau',
- tagline: 'Universal toolkit for marshalling POJOs to a wide variety of
content types using a common framework',
- favicon: 'img/favicon.ico',
-
- // Custom configuration variables
- customFields: {
- juneauVersion: '9.0.1',
- apiDocsUrl: '../apidocs',
- },
-
- // Future flags, see https://docusaurus.io/docs/api/docusaurus-config#future
- future: {
- v4: true, // Improve compatibility with the upcoming Docusaurus v4
- },
-
- // Set the production url of your site here
- url: 'https://juneau.apache.org',
- // Set the /<baseUrl>/ pathname under which your site is served
- // For GitHub pages deployment, it is often '/<projectName>/'
- baseUrl: '/',
-
- // GitHub pages deployment config.
- // If you aren't using GitHub pages, you don't need these.
- organizationName: 'apache', // Usually your GitHub org/user name.
- projectName: 'juneau', // Usually your repo name.
-
- onBrokenLinks: 'warn',
- 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',
- {
- docs: {
- path: './docs-staging',
- sidebarPath: './sidebars.ts',
- // Please change this to your repo.
- // Remove this to remove the "edit this page" links.
- editUrl:
- 'https://github.com/apache/juneau/tree/main/juneau-docs/',
- remarkPlugins: [
- [remarkJuneauLinks, {
- packageAbbreviations: {
- 'oaj': 'org.apache.juneau',
- 'oajr': 'org.apache.juneau.rest',
- 'oajrc': 'org.apache.juneau.rest.client',
- 'oajrs': 'org.apache.juneau.rest.server',
- 'oajrss': 'org.apache.juneau.rest.server.springboot',
- 'oajrm': 'org.apache.juneau.rest.mock',
- 'oajmc': 'org.apache.juneau.microservice.core',
- 'oajmj': 'org.apache.juneau.microservice.jetty',
- },
- javadocBaseUrl: '../apidocs'
- }]
- ]
- },
- blog: {
- showReadingTime: true,
- feedOptions: {
- type: ['rss', 'atom'],
- xslt: true,
- },
- // Please change this to your repo.
- // Remove this to remove the "edit this page" links.
- editUrl:
-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
- // Useful options to enforce blogging best practices
- onInlineTags: 'warn',
- onInlineAuthors: 'warn',
- onUntruncatedBlogPosts: 'warn',
- },
- theme: {
- customCss: './src/css/custom.css',
- },
- } satisfies Preset.Options,
- ],
- ],
-
- themeConfig: {
- // Replace with your project's social card
- image: 'img/docusaurus-social-card.jpg',
- navbar: {
- title: 'Apache Juneau',
- logo: {
- alt: 'Apache Juneau',
- src: 'img/oakleaf.svg',
- },
- items: [
- {to: '/about', label: 'About', position: 'left'},
- {
- type: 'docSidebar',
- sidebarId: 'mainSidebar',
- position: 'left',
- label: 'Documentation',
- },
- {to: '/downloads', label: 'Downloads', position: 'left'},
- {to: '/apache', label: 'Apache', position: 'left'},
- {
- href: 'https://github.com/apache/juneau',
- label: 'GitHub',
- position: 'right',
- },
- {
- href: 'https://github.com/apache/juneau/wiki',
- label: 'Wiki',
- position: 'right',
- },
- {
- href: 'https://juneau.apache.org/site/apidocs-9.0.1/index.html',
- label: 'Javadocs',
- position: 'right',
- },
- ],
- },
- footer: {
- style: 'dark',
- links: [
- {
- title: 'Documentation',
- items: [
- {
- label: 'About',
- to: '/about',
- },
- {
- label: 'Downloads',
- to: '/downloads',
- },
- {
- label: 'Javadocs',
- href: 'https://juneau.apache.org/site/apidocs-9.0.1/index.html',
- },
- ],
- },
- {
- title: 'Community',
- items: [
- {
- label: 'GitHub',
- href: 'https://github.com/apache/juneau',
- },
- {
- label: 'Wiki',
- href: 'https://github.com/apache/juneau/wiki',
- },
- {
- label: 'Mailing List',
- href:
'mailto:[email protected]?Subject=Apache%20Juneau%20question',
- },
- ],
- },
- {
- title: 'Apache',
- items: [
- {
- label: 'Apache Foundation',
- href: 'http://www.apache.org/foundation',
- },
- {
- label: 'License',
- href: 'http://www.apache.org/licenses/',
- },
- {
- label: 'Security',
- href: 'http://www.apache.org/security',
- },
- ],
- },
- ],
- copyright: `Copyright © ${new Date().getFullYear()} The Apache Software
Foundation. Licensed under the Apache License, Version 2.0. Apache, Apache
Juneau, and the Apache feather logo are trademarks of The Apache Software
Foundation.`,
- },
- prism: {
- theme: {plain: {}, styles: []}, // Use custom Eclipse colors instead of
default theme
- darkTheme: {plain: {}, styles: []}, // Use custom Eclipse colors for
dark mode too
- additionalLanguages: ['java', 'json', 'yaml', 'bash', 'properties',
'ini'],
- defaultLanguage: 'java',
- },
- } satisfies Preset.ThemeConfig,
-};
-
-export default config;