You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/06/17 16:45:51 UTC
(superset) branch fix_intro created (now a23eff23f0)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a change to branch fix_intro
in repository https://gitbox.apache.org/repos/asf/superset.git
at a23eff23f0 docs: remove comment header in README.md
This branch includes the following new commits:
new a23eff23f0 docs: remove comment header in README.md
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(superset) 01/01: docs: remove comment header in README.md
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch fix_intro
in repository https://gitbox.apache.org/repos/asf/superset.git
commit a23eff23f058425cf037f0faa1a6cc633cd50b20
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Mon Jun 17 09:41:56 2024 -0700
docs: remove comment header in README.md
---
README.md | 4 ----
docs/package.json | 4 ++--
docs/src/intro_header.txt | 4 ++++
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index aab794ec55..408cad422b 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,3 @@
----
-hide_title: true
-sidebar_position: 1
----
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/docs/package.json b/docs/package.json
index 5933f8cfa2..102cd80a77 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -5,13 +5,13 @@
"license": "Apache-2.0",
"scripts": {
"docusaurus": "docusaurus",
- "_init": "cp ../README.md docs/intro.md",
+ "_init": "cat src/intro_header.txt ../README.md > docs/intro.md",
"start": "npm run _init && docusaurus start",
"build": "npm run _init && docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
- "serve": "docusaurus serve",
+ "serve": "npm run _init && docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"typecheck": "tsc"
diff --git a/docs/src/intro_header.txt b/docs/src/intro_header.txt
new file mode 100644
index 0000000000..483a5e7dba
--- /dev/null
+++ b/docs/src/intro_header.txt
@@ -0,0 +1,4 @@
+---
+hide_title: true
+sidebar_position: 1
+---