explicitly making the site indexable (#3442)
* explicitly making the site indexable
* remove submodule
diff --git a/.gitmodules b/.gitmodules
index 7e4f6ea..e69de29 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,4 +0,0 @@
-[submodule "website/public"]
- path = website/public
- url = https://github.com/apache/incubator-heron.git
- branch = gh-pages
diff --git a/website/public b/website/public
deleted file mode 160000
index cf8e641..0000000
--- a/website/public
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit cf8e641f24b314a4ad34eae03093a0ac6b317e42
diff --git a/website2/package-lock.json b/website2/package-lock.json
new file mode 100644
index 0000000..48e341a
--- /dev/null
+++ b/website2/package-lock.json
@@ -0,0 +1,3 @@
+{
+ "lockfileVersion": 1
+}
diff --git a/website2/website/siteConfig.js b/website2/website/siteConfig.js
index d8be8ad..9651231 100644
--- a/website2/website/siteConfig.js
+++ b/website2/website/siteConfig.js
@@ -53,21 +53,9 @@
};
};
-const url = 'https://heronstreaming.io';
+const url = 'https://heron.incubator.apache.org';
const baseUrl = '/';
-// List of projects/orgs using your project for the users page.
-const users = [
- {
- caption: 'User1',
- // You will need to prepend the image path with your baseUrl
- // if it is not '/', like: '/test-site/img/image.jpg'.
- image: '/img/undraw_open_source.svg',
- infoLink: 'https://www.facebook.com',
- pinned: true,
- },
-];
-
const siteVariables = {
};
@@ -76,16 +64,11 @@
tagline: 'A realtime, distributed, fault-tolerant stream processing engine',
// For github.io type URLs, you would set the url and baseUrl like:
url: url,
- baseUrl: '/', // Base URL for your project */
- // url: 'https://facebook.github.io',
- // baseUrl: '/test-site/',
+ baseUrl: baseUrl, // Base URL for your project */
// Used for publishing and more
projectName: 'incubator-heron',
- organizationName: 'apache',
- // For top-level user or org sites, the organization is still the same.
- // e.g., for the https://JoelMarcey.github.io site, it would be set like...
- // organizationName: 'JoelMarcey'
+ organizationName: 'Apache',
// For no header links in the top nav bar -> headerLinks: [],
headerLinks: [
@@ -99,9 +82,8 @@
// Drop down for languages
// { languages: true }
],
-
- // If you have users set above, you add it here:
- users,
+ // explicitly set the flag to allow for indexing of the site.
+ noIndex: 'false',
/* path to images for header/footer */
headerIcon: 'img/HeronTextLogo-small.png',
@@ -114,19 +96,6 @@
secondaryColor: '#1d3f5f',
},
- /* Custom fonts for website */
- /*
- fonts: {
- myFont: [
- "Times New Roman",
- "Serif"
- ],
- myOtherFont: [
- "-apple-system",
- "system-ui"
- ]
- },
- */
// This copyright info is used in /core/Footer.js and blog RSS/Atom feeds.
copyright: `Copyright © ${new Date().getFullYear()} the Apache Software Foundation, Apache Heron, Heron,
@@ -158,16 +127,6 @@
ogImage: 'img/undraw_online.svg',
twitterImage: 'img/undraw_tweetstorm.svg',
- // Show documentation's last contributor's name.
- // enableUpdateBy: true,
-
- // Show documentation's last update time.
- // enableUpdateTime: true,
-
- // You may provide arbitrary config keys to be used as needed by your
- // template. For example, if you need your repo's URL...
- // repoUrl: 'https://github.com/facebook/test-site',
-
markdownPlugins: [
createVariableInjectionPlugin(siteVariables)
],