siteConfig.js 2.49 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
 * Copyright (c) 2017-present, Facebook, Inc.
 *
 */

// See https://docusaurus.io/docs/site-config for all the possible
// site configuration options.

// List of projects/orgs using your project for the users page.
const users = [
  {
    caption: 'User1',
    // You will need to prepend the image path with your baseUrl
    // if it is not '/', like: '/test-site/img/image.jpg'.
    image: '/img/undraw_open_source.svg',
    infoLink: 'https://www.facebook.com',
    pinned: true,
  },
];

const baseUrl = '/'

const siteConfig = {
Nikhila Ravi's avatar
Nikhila Ravi committed
24
  title: 'PyTorch3D', // Title for your website.
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
  tagline: 'A library for deep learning with 3D data',
  url: 'https://pytorch3d.org', // Your website URL
  baseUrl: baseUrl, // Base URL for your project */
  projectName: 'pytorch3d',
  organizationName: 'facebookresearch',
  customDocsPath: 'docs/notes',
  headerLinks: [
    {doc: 'why_pytorch3d', label: 'Docs'},
    {page: 'tutorials', label: 'Tutorials'},
    {href: "https://pytorch3d.readthedocs.io/", label: 'API'},
    {href: "https://github.com/facebookresearch/pytorch3d", label: 'GitHub'},
  ],

  // If you have users set above, you add it here:
  users,

  /* path to images for header/footer */
  headerIcon: 'img/pytorch3dfavicon.png',
  footerIcon: 'img/pytorch3dfavicon.png',
  favicon: 'img/pytorch3dfavicon.png',

  /* Colors for website */
  colors: {
    primaryColor: '#812CE5',
    secondaryColor: '#FFAF00',
  },

Patrick Labatut's avatar
Patrick Labatut committed
52
  // @lint-ignore-every LICENSELINT
53
  // This copyright info is used in /core/Footer.js and blog RSS/Atom feeds.
54
  copyright: `Copyright \u{00A9} ${new Date().getFullYear()} Meta Platforms, Inc`,
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87

  highlight: {
    // Highlight.js theme to use for syntax highlighting in code blocks.
    theme: 'default',
  },

  // Add custom scripts here that would be placed in <script> tags.
  scripts: ['https://buttons.github.io/buttons.js'],

  // On page navigation for the current documentation page.
  onPageNav: 'separate',
  // No .html extensions for paths.
  cleanUrl: true,

  // Open Graph and Twitter card images.
  ogImage: 'img/pytorch3dlogoicon.svg',
  twitterImage: 'img/pytorch3dlogoicon.svg',

   // Google analytics
   gaTrackingId: 'UA-157376881-1',

  // For sites with a sizable amount of content, set collapsible to true.
  // Expand/collapse the links and subcategories under categories.
  // docsSideNavCollapsible: true,

  // Show documentation's last contributor's name.
  enableUpdateBy: true,

  // Show documentation's last update time.
  // enableUpdateTime: true,
};

module.exports = siteConfig;