* fix: ignore unknown fields in more RPC responses * Remove mdbook infrastructure * Delete gitattributes and other theme related items Move all docs to /docs folder to support Docusaurus * all docs need to be moved to /docs * can be changed in the future Add Docusaurus infrastructure * initialize docusaurus repo Remove trailing whitespace, add support for eslint Change Docusaurus configuration to support `src` * No need to rename the folder! Change a setting and we're all good to go. * Fixing rebase items * Remove unneccessary markdown file, fix type * Some fonts are hard to read. Others, not so much. Rubik, you've been sidelined. Roboto, into the limelight! * As much as we all love tutorials, I think we all can navigate around a markdown file. Say goodbye, `mdx.md`. * Setup deployment infrastructure * Move docs job from buildkite to travic * Fix travis config * Add vercel token to travis config * Only deploy docs after merge * Docker rust env * Revert "Docker rust env" This reverts commit f84bc208e807aab1c0d97c7588bbfada1fedfa7c. * Build CLI usage from docker * Pacify shellcheck * Run job on PR and new commits for publication * Update README * Fix svg image building * shellcheck Co-authored-by: Michael Vines <mvines@gmail.com> Co-authored-by: Ryan Shea <rmshea@users.noreply.github.com> Co-authored-by: publish-docs.sh <maintainers@solana.com>
		
			
				
	
	
		
			114 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			114 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
module.exports = {
 | 
						|
  title: "Solana Docs",
 | 
						|
  tagline:
 | 
						|
    "Solana is an open source project implementing a new, high-performance, permissionless blockchain.",
 | 
						|
  url: "https://docs.solana.com",
 | 
						|
  baseUrl: "/",
 | 
						|
  favicon: "img/favicon.ico",
 | 
						|
  organizationName: "solana-labs", // Usually your GitHub org/user name.
 | 
						|
  projectName: "solana", // Usually your repo name.
 | 
						|
  themeConfig: {
 | 
						|
    navbar: {
 | 
						|
      logo: {
 | 
						|
        alt: "Solana Logo",
 | 
						|
        src: "img/logo-horizontal.svg",
 | 
						|
        srcDark: "img/logo-horizontal-dark.svg",
 | 
						|
      },
 | 
						|
      links: [
 | 
						|
        {
 | 
						|
          to: "docs/",
 | 
						|
          activeBasePath: "docs",
 | 
						|
          label: "Docs",
 | 
						|
          position: "left",
 | 
						|
        },
 | 
						|
        {
 | 
						|
          to: "docs/apps/README",
 | 
						|
          activeBasePath: "docs2",
 | 
						|
          label: "Developers",
 | 
						|
          position: "left",
 | 
						|
        },
 | 
						|
        {
 | 
						|
          to: "docs/running-validator/README",
 | 
						|
          activeBasePath: "docs2",
 | 
						|
          label: "Validators",
 | 
						|
          position: "left",
 | 
						|
        },
 | 
						|
        {
 | 
						|
          href: "https://discordapp.com/invite/pquxPsq",
 | 
						|
          label: "Chat",
 | 
						|
          position: "right",
 | 
						|
        },
 | 
						|
 | 
						|
        {
 | 
						|
          href: "https://github.com/solana-labs/solana",
 | 
						|
          label: "GitHub",
 | 
						|
          position: "right",
 | 
						|
        },
 | 
						|
      ],
 | 
						|
    },
 | 
						|
    footer: {
 | 
						|
      style: "dark",
 | 
						|
      links: [
 | 
						|
        {
 | 
						|
          title: "Docs",
 | 
						|
          items: [
 | 
						|
            {
 | 
						|
              label: "Introduction",
 | 
						|
              to: "docs/introduction",
 | 
						|
            },
 | 
						|
            {
 | 
						|
              label: "Tour de SOL",
 | 
						|
              to: "docs/tour-de-sol/README",
 | 
						|
            },
 | 
						|
          ],
 | 
						|
        },
 | 
						|
        {
 | 
						|
          title: "Community",
 | 
						|
          items: [
 | 
						|
            {
 | 
						|
              label: "Discord",
 | 
						|
              href: "https://discordapp.com/invite/pquxPsq",
 | 
						|
            },
 | 
						|
            {
 | 
						|
              label: "Twitter",
 | 
						|
              href: "https://twitter.com/solana",
 | 
						|
            },
 | 
						|
            {
 | 
						|
              label: "Forums",
 | 
						|
              href: "https://forums.solana.com",
 | 
						|
            },
 | 
						|
          ],
 | 
						|
        },
 | 
						|
        {
 | 
						|
          title: "More",
 | 
						|
          items: [
 | 
						|
            {
 | 
						|
              label: "GitHub",
 | 
						|
              href: "https://github.com/solana-labs/solana",
 | 
						|
            },
 | 
						|
          ],
 | 
						|
        },
 | 
						|
      ],
 | 
						|
      copyright: `Copyright © ${new Date().getFullYear()} Solana Foundation`,
 | 
						|
    },
 | 
						|
  },
 | 
						|
  presets: [
 | 
						|
    [
 | 
						|
      "@docusaurus/preset-classic",
 | 
						|
      {
 | 
						|
        docs: {
 | 
						|
          path: "src",
 | 
						|
          // It is recommended to set document id as docs home page (`docs/` path).
 | 
						|
          homePageId: "introduction",
 | 
						|
          sidebarPath: require.resolve("./sidebars.js"),
 | 
						|
          // Please change this to your repo.
 | 
						|
          editUrl: "https://github.com/solana-labs/solana/edit/master/docs/",
 | 
						|
        },
 | 
						|
        theme: {
 | 
						|
          customCss: require.resolve("./src/css/custom.css"),
 | 
						|
        },
 | 
						|
      },
 | 
						|
    ],
 | 
						|
  ],
 | 
						|
};
 |