docs: redirect http -> https (#10900)
* docs: redirect http -> https * fix issues
This commit is contained in:
parent
9246c9bdaf
commit
3b035d2af3
|
|
@ -33,9 +33,8 @@ apache_superset.egg-info
|
|||
.*csv
|
||||
# Generated doc files
|
||||
env/*
|
||||
docs/_build/*
|
||||
docs/_modules/*
|
||||
docs/_static/*
|
||||
docs/README.md
|
||||
docs/.htaccess*
|
||||
_build/*
|
||||
_static/*
|
||||
.buildinfo
|
||||
|
|
|
|||
|
|
@ -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
|
||||
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
|
||||
[//]: # 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.
|
||||
|
||||
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
|
||||
<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 the `asf-site` branch on the
|
||||
[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
|
||||
# Get in the docs/ folder in the main repo
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
],
|
||||
"license": "0BSD",
|
||||
"scripts": {
|
||||
"build": "gatsby build",
|
||||
"build": "gatsby build && cp .htaccess public/",
|
||||
"develop": "gatsby develop",
|
||||
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,mdx}\"",
|
||||
"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.verifySliceSuccess({ waitAlias: '@postJson' });
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue