Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Commit b964cf4

Browse files
explicitly making the site indexable (#3442)
* explicitly making the site indexable * remove submodule
1 parent 0599224 commit b964cf4

File tree

4 files changed

+8
-51
lines changed

4 files changed

+8
-51
lines changed

.gitmodules

-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
[submodule "website/public"]
2-
path = website/public
3-
url = https://github.com/apache/incubator-heron.git
4-
branch = gh-pages

website/public

-1
This file was deleted.

website2/package-lock.json

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website2/website/siteConfig.js

+5-46
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,9 @@ const createVariableInjectionPlugin = variables => {
5353
};
5454
};
5555

56-
const url = 'https://heronstreaming.io';
56+
const url = 'https://heron.incubator.apache.org';
5757
const baseUrl = '/';
5858

59-
// List of projects/orgs using your project for the users page.
60-
const users = [
61-
{
62-
caption: 'User1',
63-
// You will need to prepend the image path with your baseUrl
64-
// if it is not '/', like: '/test-site/img/image.jpg'.
65-
image: '/img/undraw_open_source.svg',
66-
infoLink: 'https://www.facebook.com',
67-
pinned: true,
68-
},
69-
];
70-
7159
const siteVariables = {
7260
};
7361

@@ -76,16 +64,11 @@ const siteConfig = {
7664
tagline: 'A realtime, distributed, fault-tolerant stream processing engine',
7765
// For github.io type URLs, you would set the url and baseUrl like:
7866
url: url,
79-
baseUrl: '/', // Base URL for your project */
80-
// url: 'https://facebook.github.io',
81-
// baseUrl: '/test-site/',
67+
baseUrl: baseUrl, // Base URL for your project */
8268

8369
// Used for publishing and more
8470
projectName: 'incubator-heron',
85-
organizationName: 'apache',
86-
// For top-level user or org sites, the organization is still the same.
87-
// e.g., for the https://JoelMarcey.github.io site, it would be set like...
88-
// organizationName: 'JoelMarcey'
71+
organizationName: 'Apache',
8972

9073
// For no header links in the top nav bar -> headerLinks: [],
9174
headerLinks: [
@@ -99,9 +82,8 @@ const siteConfig = {
9982
// Drop down for languages
10083
// { languages: true }
10184
],
102-
103-
// If you have users set above, you add it here:
104-
users,
85+
// explicitly set the flag to allow for indexing of the site.
86+
noIndex: 'false',
10587

10688
/* path to images for header/footer */
10789
headerIcon: 'img/HeronTextLogo-small.png',
@@ -114,19 +96,6 @@ const siteConfig = {
11496
secondaryColor: '#1d3f5f',
11597
},
11698

117-
/* Custom fonts for website */
118-
/*
119-
fonts: {
120-
myFont: [
121-
"Times New Roman",
122-
"Serif"
123-
],
124-
myOtherFont: [
125-
"-apple-system",
126-
"system-ui"
127-
]
128-
},
129-
*/
13099

131100
// This copyright info is used in /core/Footer.js and blog RSS/Atom feeds.
132101
copyright: `Copyright © ${new Date().getFullYear()} the Apache Software Foundation, Apache Heron, Heron,
@@ -158,16 +127,6 @@ const siteConfig = {
158127
ogImage: 'img/undraw_online.svg',
159128
twitterImage: 'img/undraw_tweetstorm.svg',
160129

161-
// Show documentation's last contributor's name.
162-
// enableUpdateBy: true,
163-
164-
// Show documentation's last update time.
165-
// enableUpdateTime: true,
166-
167-
// You may provide arbitrary config keys to be used as needed by your
168-
// template. For example, if you need your repo's URL...
169-
// repoUrl: 'https://github.com/facebook/test-site',
170-
171130
markdownPlugins: [
172131
createVariableInjectionPlugin(siteVariables)
173132
],

0 commit comments

Comments
 (0)