From 071c81f82eedb80c1119cafe9ea16e311f22cce2 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Tue, 6 Oct 2020 13:51:40 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=93=9C=20`/docs/api`=20won't=20ren?= =?UTF-8?q?der=20(#11168)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: docs/api won't render fix: docs/api won't render It's unclear to me exactly why, but docz is flimsy with the way things are named and runs into odd collision and error messages. Somehow renaming the route seem to help. Jut rolling with it after many `gatsby clean` * kill paths-ignore on github-actions * trigger --- .github/workflows/superset-e2e.yml | 8 +------- .github/workflows/superset-frontend.yml | 8 +------- .github/workflows/superset-python.yml | 8 +------- .github/workflows/test-hive.yml | 8 +------- .github/workflows/test-presto.yml | 8 +------- docs/src/components/AnchorNavigator.tsx | 2 +- docs/src/components/MainMenu.tsx | 4 ++-- docs/src/pages/docs/api.mdx | 4 ++-- 8 files changed, 10 insertions(+), 40 deletions(-) diff --git a/.github/workflows/superset-e2e.yml b/.github/workflows/superset-e2e.yml index f634e1544cc..dfa691058ac 100644 --- a/.github/workflows/superset-e2e.yml +++ b/.github/workflows/superset-e2e.yml @@ -1,12 +1,6 @@ name: E2E -on: - push: - paths-ignore: - - 'docs/**' - pull_request: - paths-ignore: - - 'docs/**' +on: [push, pull_request] jobs: Cypress: diff --git a/.github/workflows/superset-frontend.yml b/.github/workflows/superset-frontend.yml index 0f0b5db4854..8d10e0b8888 100644 --- a/.github/workflows/superset-frontend.yml +++ b/.github/workflows/superset-frontend.yml @@ -1,12 +1,6 @@ name: Frontend -on: - push: - paths-ignore: - - 'docs/**' - pull_request: - paths-ignore: - - 'docs/**' +on: [push, pull_request] jobs: build: diff --git a/.github/workflows/superset-python.yml b/.github/workflows/superset-python.yml index 5da41d9f5c9..6bfe3772185 100644 --- a/.github/workflows/superset-python.yml +++ b/.github/workflows/superset-python.yml @@ -1,13 +1,7 @@ # Python unit tests name: Python -on: - push: - paths-ignore: - - 'docs/**' - pull_request: - paths-ignore: - - 'docs/**' +on: [push, pull_request] jobs: lint: diff --git a/.github/workflows/test-hive.yml b/.github/workflows/test-hive.yml index b372be4519f..2571f4a2f85 100644 --- a/.github/workflows/test-hive.yml +++ b/.github/workflows/test-hive.yml @@ -1,12 +1,6 @@ name: Hive -on: - push: - paths-ignore: - - 'docs/**' - pull_request: - paths-ignore: - - 'docs/**' +on: [push, pull_request] jobs: test-postgres-hive: diff --git a/.github/workflows/test-presto.yml b/.github/workflows/test-presto.yml index 360026b056c..14ac0a8f5ea 100644 --- a/.github/workflows/test-presto.yml +++ b/.github/workflows/test-presto.yml @@ -1,12 +1,6 @@ name: Presto -on: - push: - paths-ignore: - - 'docs/**' - pull_request: - paths-ignore: - - 'docs/**' +on: [push, pull_request] jobs: test-postgres-presto: diff --git a/docs/src/components/AnchorNavigator.tsx b/docs/src/components/AnchorNavigator.tsx index 473710974b1..cda6359e72d 100644 --- a/docs/src/components/AnchorNavigator.tsx +++ b/docs/src/components/AnchorNavigator.tsx @@ -52,7 +52,7 @@ const HeaderNav = () => {
{headings.map((e) => ( - + ))}
diff --git a/docs/src/components/MainMenu.tsx b/docs/src/components/MainMenu.tsx index 4482fe5f17c..dd4631aab05 100644 --- a/docs/src/components/MainMenu.tsx +++ b/docs/src/components/MainMenu.tsx @@ -133,9 +133,9 @@ export default class MainMenu extends React.Component { const { visible } = this.state; return ( - + logo - + NOTE! @@ -25,7 +26,6 @@ documented here. The docs bellow are generated using at /swagger/v1 (if enabled) } - type="info" />