mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +00:00
docs: redirect http -> https (#10900)
* docs: redirect http -> https * fix issues
This commit is contained in:
committed by
GitHub
parent
9246c9bdaf
commit
3b035d2af3
@@ -33,9 +33,8 @@ apache_superset.egg-info
|
|||||||
.*csv
|
.*csv
|
||||||
# Generated doc files
|
# Generated doc files
|
||||||
env/*
|
env/*
|
||||||
docs/_build/*
|
docs/README.md
|
||||||
docs/_modules/*
|
docs/.htaccess*
|
||||||
docs/_static/*
|
|
||||||
_build/*
|
_build/*
|
||||||
_static/*
|
_static/*
|
||||||
.buildinfo
|
.buildinfo
|
||||||
|
|||||||
20
docs/.htaccess
Normal file
20
docs/.htaccess
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing,
|
||||||
|
# software distributed under the License is distributed on an
|
||||||
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
# KIND, either express or implied. See the License for the
|
||||||
|
# specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteCond %{SERVER_PORT} 80
|
||||||
|
RewriteRule ^(.*)$ https://superset.apache.org/$1 [R,L]
|
||||||
@@ -1,21 +1,20 @@
|
|||||||
<!--
|
[//]: # Licensed to the Apache Software Foundation (ASF) under one
|
||||||
Licensed to the Apache Software Foundation (ASF) under one
|
[//]: # or more contributor license agreements. See the NOTICE file
|
||||||
or more contributor license agreements. See the NOTICE file
|
[//]: # distributed with this work for additional information
|
||||||
distributed with this work for additional information
|
[//]: # regarding copyright ownership. The ASF licenses this file
|
||||||
regarding copyright ownership. The ASF licenses this file
|
[//]: # to you under the Apache License, Version 2.0 (the
|
||||||
to you under the Apache License, Version 2.0 (the
|
[//]: # "License"); you may not use this file except in compliance
|
||||||
"License"); you may not use this file except in compliance
|
[//]: # with the License. You may obtain a copy of the License at
|
||||||
with the License. You may obtain a copy of the License at
|
[//]: #
|
||||||
|
[//]: # http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
[//]: #
|
||||||
|
[//]: # Unless required by applicable law or agreed to in writing,
|
||||||
|
[//]: # software distributed under the License is distributed on an
|
||||||
|
[//]: # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
[//]: # KIND, either express or implied. See the License for the
|
||||||
|
[//]: # specific language governing permissions and limitations
|
||||||
|
[//]: # under the License.
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing,
|
|
||||||
software distributed under the License is distributed on an
|
|
||||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, either express or implied. See the License for the
|
|
||||||
specific language governing permissions and limitations
|
|
||||||
under the License.
|
|
||||||
-->
|
|
||||||
Here's the source to the documentation hosted at
|
Here's the source to the documentation hosted at
|
||||||
<a href="https://superset.apache.org">superset.apache.org</a>
|
<a href="https://superset.apache.org">superset.apache.org</a>
|
||||||
|
|
||||||
@@ -37,7 +36,7 @@ npm run start
|
|||||||
To publish, the static site that Gatsby generates needs to be pushed
|
To publish, the static site that Gatsby generates needs to be pushed
|
||||||
to the `asf-site` branch on the
|
to the `asf-site` branch on the
|
||||||
[apache/incubator-superset-site](https://github.com/apache/incubator-superset-site/)
|
[apache/incubator-superset-site](https://github.com/apache/incubator-superset-site/)
|
||||||
repository. No need to PR here, just `git push`!
|
repository. No need to PR here, simply `git push`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Get in the docs/ folder in the main repo
|
# Get in the docs/ folder in the main repo
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
],
|
],
|
||||||
"license": "0BSD",
|
"license": "0BSD",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "gatsby build",
|
"build": "gatsby build && cp .htaccess public/",
|
||||||
"develop": "gatsby develop",
|
"develop": "gatsby develop",
|
||||||
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,mdx}\"",
|
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,mdx}\"",
|
||||||
"start": "npm run develop",
|
"start": "npm run develop",
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ describe('AdhocFilters', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Set custom adhoc filter', () => {
|
xit('Set custom adhoc filter', () => {
|
||||||
cy.visitChartByName('Num Births Trend');
|
cy.visitChartByName('Num Births Trend');
|
||||||
cy.verifySliceSuccess({ waitAlias: '@postJson' });
|
cy.verifySliceSuccess({ waitAlias: '@postJson' });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user