mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
RSS/ATOM Feed added, Prism changes, and global Copyright notice. (#94)
* Add Reason support to Prism.js * Add XML/ATOM feed. Generates for both localhost and build script. Adds meta links to feeds to all html files. * Updated /core/Footer.js to pull from siteConfig
This commit is contained in:
parent
92ce92ee59
commit
dc835770a0
15 changed files with 285 additions and 39 deletions
|
@ -24,10 +24,10 @@ const siteConfig = {
|
|||
baseUrl: "/test-site/" /* base url for your project */,
|
||||
projectName: "test-site",
|
||||
headerLinks: [
|
||||
{ doc: "doc1", label: "Docs" },
|
||||
{ doc: "doc4", label: "API" },
|
||||
{ page: "help", label: "Help" },
|
||||
{ blog: true, label: "Blog" }
|
||||
{doc: "doc1", label: "Docs"},
|
||||
{doc: "doc4", label: "API"},
|
||||
{page: "help", label: "Help"},
|
||||
{blog: true, label: "Blog"}
|
||||
],
|
||||
users,
|
||||
/* path to images for header/footer */
|
||||
|
@ -40,7 +40,12 @@ const siteConfig = {
|
|||
secondaryColor: "#205C3B",
|
||||
prismColor:
|
||||
"rgba(46, 133, 85, 0.03)" /* primaryColor in rgba form, with 0.03 alpha */
|
||||
}
|
||||
},
|
||||
// This copyright info is used in /core/Footer.js and blog rss/atom feeds.
|
||||
copyright:
|
||||
"Copyright © " +
|
||||
new Date().getFullYear() +
|
||||
" Your Name or Your Company Name"
|
||||
};
|
||||
|
||||
module.exports = siteConfig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue