superset/docs
Daniel Vaz Gaspar 412189fcb7
fix: Change default SECRET_KEY, improve docs and banner warning (#17984)
* fix: Change default SECRET_KEY, improve docs and banner warning on default

* lint

* Update superset/initialization/__init__.py

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* add a secret migration procedure, update UPDATING

* fix lint

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-01-11 15:13:04 +00:00
..
src fix: Change default SECRET_KEY, improve docs and banner warning (#17984) 2022-01-11 15:13:04 +00:00
static/images add a native filters section to the exploring data docs (#17605) 2021-12-04 10:26:34 -05:00
.asf.yaml docs: add .asf.yaml (#15931) 2021-07-28 15:32:03 -04: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 docs: add publish step (#14304) 2021-04-23 10:43:58 -06:00
doczrc.js docs(contributing): update contributing section on docs page to match CONTRIBUTING.md (#17718) 2022-01-10 11:36:35 -05:00
gatsby-config.js docs: Remove gatsby-plugin-offline (#12693) 2021-01-25 12:57:22 -05:00
gatsby-node.js docs(contributing): update contributing section on docs page to match CONTRIBUTING.md (#17718) 2022-01-10 11:36:35 -05:00
installation.rst feat: Add support for Azure Data Explorer (Kusto) db engine spec (#17898) 2022-01-10 14:42:20 +02:00
package-lock.json docs(contributing): update contributing section on docs page to match CONTRIBUTING.md (#17718) 2022-01-10 11:36:35 -05:00
package.json docs(contributing): update contributing section on docs page to match CONTRIBUTING.md (#17718) 2022-01-10 11:36:35 -05: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

Github Actions CI automatically publishes the site after changes are merged to master.

To manually 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