superset/docs
Hugh A. Miles II 392d8a8107
fix: Handle bad permission errors for bigquery test connections (#14147)
* starter make file

* yea

* move messaging to config

* Delete Makefile

* remove

* checkout

* check for db generic errors

* checkout bad files

* add proper message

* add docs for new permissions codes

* Update superset/errors.py

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>

* Update superset/errors.py

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>

* rename var

* starter regex

* fix

* fix

* fix linting

* update test

* yerp

* fixed test

* added regex

* Apply suggestions from code review

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* address comments

* update docs

* prettier

* fux

* add space

* Update errors.py

* Update types.ts

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-04-20 19:19:36 -04:00
..
src fix: Handle bad permission errors for bigquery test connections (#14147) 2021-04-20 19:19:36 -04:00
static/images docs: Updates to Superset Site for 1.0 (#12626) 2021-01-26 11:13:39 -05:00
.eslintrc.js docs(style): make more responsive for mobile (#10853) 2020-09-14 11:58:45 -07:00
.gitignore docs(new docs site): removes old sphinx doc site with gatsby (#10784) 2020-09-11 22:59:12 -07:00
.htaccess docs: fix redirect from bad find/replace (#12642) 2021-01-20 20:25:01 -08:00
.nvmrc docs: update outdated country map tools instructions (#14027) 2021-04-09 15:15:17 -07:00
.prettierrc docs(new docs site): removes old sphinx doc site with gatsby (#10784) 2020-09-11 22:59:12 -07:00
README.md chore: remove harmless incubator refs (#12289) 2021-01-06 13:45:19 +02:00
doczrc.js docs: add API page to docs using Swagger UI (#11154) 2020-10-04 22:01:36 -07:00
gatsby-config.js docs: Remove gatsby-plugin-offline (#12693) 2021-01-25 12:57:22 -05:00
gatsby-node.js chore: Added rockset and firebird (#13418) 2021-03-03 08:55:59 -05:00
installation.rst feat: Make async query JWT cookie domain configurable (#14007) 2021-04-11 20:33:33 -07:00
package-lock.json build(deps): bump socket.io from 2.3.0 to 2.4.1 in /docs (#12636) 2021-04-13 14:01:16 -07:00
package.json build(deps): bump three from 0.68.87 to 0.125.0 in /docs (#13391) 2021-04-13 13:10:00 -07:00
prettier.config.js docs(new docs site): removes old sphinx doc site with gatsby (#10784) 2020-09-11 22:59:12 -07:00
requirements.txt docs(new docs site): removes old sphinx doc site with gatsby (#10784) 2020-09-11 22:59:12 -07:00
sqllab.rst feat: Support feature flag overrides in ephemeral test envs (#14008) 2021-04-08 11:05:59 -07:00

README.md

Here's the source to the documentation hosted at superset.apache.org

The site runs on the Gatsby framework and uses docz for it's Documentation subsection.

Getting Started

cd docs/
npm install
npm run start
# navigate to localhost:8000`

To Publish

To publish, the static site that Gatsby generates needs to be pushed to the asf-site branch on the apache/superset-site repository. No need to PR here, simply git push.

# Get in the docs/ folder in the main repo
cd ~/repos/superset/docs
# have Gatsby build the static website, this puts in under `docs/public`
npm run build

# go to the docs repo
cd ~/repos/superset-site
# checkout the proper branch
git checkout asf-site

# BE CAREFUL WITH THIS COMMAND
# wipe the content of the repo
rm -rf *

# copy the static site here
cp -r ~/repos/superset/docs/public/ ./

# git push
git add .
git commit -m "relevant commit msg"
git push origin asf-site

# SUCCESS - it should take minutes to take effect on superset.apache.org