Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

绑定文档域名 #55

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ jobs:
- name: Build documentations
working-directory: docs
run: yarn build
- name: Load CNAME file
if: github.ref == 'refs/heads/master'
run: cp CNAME build
- name: Generate Javadoc
run: mvn -B clean verify javadoc:aggregate
- name: Move Javadoc into documentation directory
Expand Down
1 change: 1 addition & 0 deletions docs/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
athena.paion-data.dev
16 changes: 4 additions & 12 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,15 @@ const config: Config = {
tagline: 'A GraphQL Object Storage Webservice Backed by OpenStack Swift and Ali OSS',
favicon: 'img/favicon.ico',

// Set the production url of your site here
url: 'https://paion-data.github.io/',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/athena/',
url: 'https://athena.paion-data.dev/',
baseUrl: '/',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'paion-data', // Usually your GitHub org/user name.
projectName: 'athena', // Usually your repo name.
organizationName: 'paion-data',
projectName: 'athena',

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'],
Expand Down
Loading