Skip to content

Commit

Permalink
fix: fix base url for preview command (#27)
Browse files Browse the repository at this point in the history
Signed-off-by: frank-zsy <[email protected]>
  • Loading branch information
frank-zsy authored Jul 8, 2024
1 parent e199d67 commit c2ecbc7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: |
git config --global url."https://github.com/".insteadOf git://github.com/
npm install
npm run build
BASE_URL=/pull_${{ github.event.issue.number }}/ npm run build
- name: Upload to OSS
if: ${{ steps.regex-match.outputs.match != '' }}
Expand Down
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const config = {
tagline: 'Open Source Analysis Platform',
favicon: 'img/favicon.ico',
url: 'https://open-digger.cn',
baseUrl: '/',
baseUrl: process.env.BASE_URL || '/',

scripts: [
{
Expand Down Expand Up @@ -75,7 +75,7 @@ const config = {

themes: ['@docusaurus/theme-mermaid'],
markdown: {
mermaid: true,
mermaid: true,
},

themeConfig:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,15 +310,15 @@ OpenDigger community also open to inter-community cooperation events, like conte

### GitHub Event Log

We use [GHArchive](https://www.gharchive.org/) as our data source for GitHub event logs and the data service is provided by [clickhouse](https://clickhouse.tech/) cluster cloud service. For data details, please check the [data](/en/docs/user_docs/intro) docs.
We use [GHArchive](https://www.gharchive.org/) as our data source for GitHub event logs and the data service is provided by [clickhouse](https://clickhouse.tech/) cluster cloud service. For data details, please check the [data](/docs/user_docs/intro) docs.

### Labeled Data

We are collecting labeled data for more deeper analysis. You can view the corresponding data in the `labeled_data` folder. For more details, please check [labeled_data](/en/docs/user_docs/intro) docs.
We are collecting labeled data for more deeper analysis. You can view the corresponding data in the `labeled_data` folder. For more details, please check [labeled_data](/docs/user_docs/intro) docs.

### Sample Data Usage

OpenDigger provides ClickHouse sample data and Jupyter notebook image to run OpenDigger in local environment, please refer to [sample data doc](/en/docs/user_docs/intro).
OpenDigger provides ClickHouse sample data and Jupyter notebook image to run OpenDigger in local environment, please refer to [sample data doc](/docs/user_docs/intro).

## Communication

Expand Down

0 comments on commit c2ecbc7

Please sign in to comment.