"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "website/docusaurus.config.js" between
pyre-check-0.0.53.tar.gz and pyre-check-0.0.54.tar.gz

About: Pyre is a performant type checker for Python (ships with Pysa, a security focused static analysis tool).

docusaurus.config.js  (pyre-check-0.0.53):docusaurus.config.js  (pyre-check-0.0.54)
/** /**
* Copyright (c) Facebook, Inc. and its affiliates. * Copyright (c) Facebook, Inc. and its affiliates.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*
* @format
*/ */
/* List of projects/orgs using Pyre for the users page */ /* List of projects/orgs using Pyre for the users page */
const users = [ const users = [
{ {
caption: 'Instagram', caption: 'Instagram',
image: '/pyre/img/ig.png', image: '/pyre/img/ig.png',
infoLink: 'https://www.instagram.com', infoLink: 'https://www.instagram.com',
pinned: true, pinned: true,
}, },
]; ];
function FBInternal(elements) { function FBInternal(elements) {
return process.env.FB_INTERNAL ? elements : []; return process.env.FB_INTERNAL ? elements : [];
} }
function FBInternalWithOssFallback(elements, fallback) { function FBInternalWithOssFallback(elements, fallback) {
return process.env.FB_INTERNAL ? elements : fallback; return process.env.FB_INTERNAL ? elements : fallback;
} }
module.exports = { module.exports = {
// ... // ...
title: 'Pyre', title: 'Pyre',
tagline: 'A performant type-checker for Python 3', tagline: 'A performant type-checker for Python 3',
url: 'https://pyre-check.org', url: 'https://pyre-check.org',
baseUrl: '/', baseUrl: '/',
organizationName: 'facebook', organizationName: 'facebook',
projectName: 'pyre-check', projectName: 'pyre-check',
favicon: 'img/favicon.ico', favicon: 'img/favicon.ico',
scripts: ['https://buttons.github.io/buttons.js'], scripts: ['https://buttons.github.io/buttons.js'],
plugins: [require.resolve('docusaurus-plugin-internaldocs-fb')], plugins: [
require.resolve('docusaurus-plugin-internaldocs-fb'),
[
'@docusaurus/plugin-client-redirects',
{
fromExtensions: ['html'],
},
],
],
presets: [ presets: [
[ [
'@docusaurus/preset-classic', '@docusaurus/preset-classic',
{ {
docs: { docs: {
// Docs folder path relative to website dir. // Docs folder path relative to website dir.
path: 'docs', path: 'docs',
// Sidebars file relative to website dir. // Sidebars file relative to website dir.
sidebarPath: require.resolve('./sidebars.js'), sidebarPath: require.resolve('./sidebars.js'),
}, },
skipping to change at line 68 skipping to change at line 78
defaultMode: 'light', defaultMode: 'light',
disableSwitch: true, disableSwitch: true,
}, },
navbar: { navbar: {
logo: { logo: {
alt: 'Pyre Logo', alt: 'Pyre Logo',
src: 'img/integrated_logo_light.png', src: 'img/integrated_logo_light.png',
}, },
items: [ items: [
{to: 'docs/getting-started', label: 'Documentation', position: 'left'}, {to: 'docs/getting-started', label: 'Documentation', position: 'left'},
FBInternalWithOssFallback({to: 'docs/fb/development-getting-started', la FBInternalWithOssFallback(
bel: 'Development @ FB', position: 'left'}, {}), {
to: 'docs/fb/development-getting-started',
label: 'Development @ FB',
position: 'left',
},
{},
),
{ {
href: 'https://github.com/facebook/pyre-check', href: 'https://github.com/facebook/pyre-check',
label: 'GitHub', label: 'GitHub',
position: 'right', position: 'right',
}, },
], ],
}, },
footer: { footer: {
logo: { logo: {
alt: 'Facebook Open Source Logo', alt: 'Facebook Open Source Logo',
src: 'https://docusaurus.io/img/oss_logo.png', src: 'https://docusaurus.io/img/oss_logo.png',
href: 'https://opensource.facebook.com/', href: 'https://opensource.facebook.com/',
}, },
copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc.`, copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc.`,
}, },
image: 'img/docusaurus.png', image: 'img/docusaurus.png',
}, },
}; };
 End of changes. 5 change blocks. 
5 lines changed or deleted 21 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)