Skip to content

Commit

Permalink
绑定文档域名 (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi authored May 13, 2024
1 parent 17a3fff commit 2e5a0f3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
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

0 comments on commit 2e5a0f3

Please sign in to comment.