Skip to content

Commit bbb30d3

Browse files
tlilmeta-codesync[bot]
authored andcommitted
fix base url for public sitemap
Summary: Update the base URL used in the sitemap that gets pushed to the public site, to ensure search engines / crawlers pick up the right updates. Already pushed downstream on GitHub (hhvm/user-documentation): https://docs.hhvm.com/sitemap.xml --> {F1984714430} Reviewed By: francesco-zappa-nardelli Differential Revision: D90984952 fbshipit-source-id: 4a815abbfb52087039d993576e7385e7a12c1127
1 parent 60d4799 commit bbb30d3

File tree

2 files changed

+25
-20
lines changed

2 files changed

+25
-20
lines changed

hphp/hack/website/.gitignore

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
1-
# Dependencies
2-
/node_modules
3-
4-
# Production
5-
/build
6-
7-
# Generated files
8-
.docusaurus
9-
.cache-loader
10-
11-
# Misc
1+
.commit-template
2+
*.swp
3+
*.php.diff
4+
*.php.out
5+
*.php.type-errors.diff
6+
*.php.type-errors.out
7+
*.hack.diff
8+
*.hack.out
9+
*.hack.type-errors.diff
10+
*.hack.type-errors.out
11+
*.css.map
12+
*.stdout
13+
*.stderr
14+
.*.hhast.*cache
15+
.sass-cache
16+
.bundle
1217
.DS_Store
13-
.env.local
14-
.env.development.local
15-
.env.test.local
16-
.env.production.local
17-
18-
npm-debug.log*
19-
yarn-debug.log*
20-
yarn-error.log*
18+
*~
19+
*.orig
20+
*.rej
21+
.var/
22+
sdoc-cache.json
23+
.docusaurus/
24+
build/
25+
node_modules/

hphp/hack/website/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const darkCodeTheme = require('prism-react-renderer').themes.vsDark;
1111
(module.exports = {
1212
title: 'Hack & HHVM Documentation',
1313
tagline: 'Moving fast with high-performance Hack, a programming language for building reliable websites at epic scale',
14-
url: 'https://internalfb.com',
14+
url: 'https://docs.hhvm.com',
1515
baseUrl: process.env.DOCUSAURUS_BASE_URL || '/',
1616
onBrokenLinks: 'warn', // TODO: change back to 'throw' ones apis/* (and hsl/*) have been populated
1717
trailingSlash: true,

0 commit comments

Comments
 (0)