From d27656ddbe2dc5853aa5a30944fa7a8205ece5c1 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Fri, 20 Jul 2018 10:55:01 +0200 Subject: [PATCH 1/3] Update with GH Enterprise instructions for baseUrl --- docs/api-site-config.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api-site-config.md b/docs/api-site-config.md index 5a95f7480ed0..c30e23f68dc4 100644 --- a/docs/api-site-config.md +++ b/docs/api-site-config.md @@ -19,6 +19,8 @@ The `siteConfig` object contains the bulk of the configuration settings for your `baseUrl` - baseUrl for your site. +> When publishing to GitHub Enterprise, set it to ```/pages/{organizationName}/{projectName}/``` + `colors` - Color configurations for the site. * `primaryColor` is the color used the header navigation bar and sidebars. From c0f6dfd863560c3797389255328b28dde4f1c1ba Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Fri, 20 Jul 2018 10:57:07 +0200 Subject: [PATCH 2/3] Update api-site-config.md --- docs/api-site-config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-site-config.md b/docs/api-site-config.md index c30e23f68dc4..97446f78ad49 100644 --- a/docs/api-site-config.md +++ b/docs/api-site-config.md @@ -19,7 +19,7 @@ The `siteConfig` object contains the bulk of the configuration settings for your `baseUrl` - baseUrl for your site. -> When publishing to GitHub Enterprise, set it to ```/pages/{organizationName}/{projectName}/``` +> When publishing to GitHub Enterprise, set it to `/pages/{organizationName}/{projectName}/` `colors` - Color configurations for the site. From 102c08c4bcc7e8cbcc2f0387230091f5bc246eac Mon Sep 17 00:00:00 2001 From: endiliey Date: Fri, 20 Jul 2018 23:31:58 +0800 Subject: [PATCH 3/3] simplify wordings --- docs/api-site-config.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/api-site-config.md b/docs/api-site-config.md index 97446f78ad49..2164c0f526d9 100644 --- a/docs/api-site-config.md +++ b/docs/api-site-config.md @@ -17,9 +17,7 @@ The `siteConfig` object contains the bulk of the configuration settings for your ### Mandatory Fields -`baseUrl` - baseUrl for your site. - -> When publishing to GitHub Enterprise, set it to `/pages/{organizationName}/{projectName}/` +`baseUrl` - baseUrl for your site. For example, `/pages/org/project/` is the baseUrl of https://git.facebook.com/pages/org/project/ `colors` - Color configurations for the site.