GithubHelp home page GithubHelp logo

abhinava / docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cumulusnetworks/docs

0.0 0.0 0.0 687.38 MB

NVIDIA Ethernet Software Documentation Repo

Home Page: https://docs.nvidia.com/networking-ethernet-software/

License: Other

HTML 54.39% JavaScript 2.02% Python 5.42% SCSS 5.82% CSS 32.35%

docs's Introduction

NVIDIA Networking Documentation

This is the source repository for the NVIDIA Ethernet Software Documentation, hosted at docs.nvidia.com/networking-ethernet-software. This site uses the static site generator Hugo.

Installing the Documentation and Running the Local Server

Hugo contains a local development server to build and view live changes to the repo. To build and view the live site:

  1. Install Hugo version 0.82.0 extended from https://github.com/gohugoio/hugo/releases/tag/v0.82.0.

  2. Verify Hugo with hugo version. This site supports Hugo version 0.82.0. The output of the hugo version command should read:

hugo v0.82.0-9D960784+extended linux/amd64 BuildDate=2021-03-21T17:28:04Z VendorInfo=gohugoio
  1. Clone this repository with git clone.

  2. Navigate to the docs subdirectory.

  3. Start the Hugo server with hugo server.

  4. The site is available at http://localhost:1313. Hugo watches and rebuilds the site when you save any changes to source files.

Contributing to the Documentation

This repository contains the documentation hosted at docs.nvidia.com/networking-ethernet-software.

If you would like to contribute to the site, please fork and submit a pull request. Commit your changes to the stage branch.

The docs team reviews the pull request and, if accepted, publishes the content.

Content with Hugo

Hugo uses Markdown for all site content. Content pages are in the /content folder.

Hugo supports basic GitHub Markdown syntax. A helpful guide for Markdown is here.

The site uses custom Hugo shortcodes extensively. Shortcode details are in the Writing Guide.

Adding a section

Sections in Hugo are subdirectories of the /content folder. To add a section, create a subdirectory, for example, 'MySection', then add a _index.md file. All first-level subdirectories from /content are default sections, but any nested sections must include _index.md.

Organization

The weight parameter in the front matter determines the page ordering. Hugo arranges lower weights first, and is relative per section. Pages set to draft: true in the front matter do not show when the local server is running. Use hugo server -D to include drafts and display them locally.

Theme

The site uses the Hugo Book theme, built by alex-shpak. The NetDocs theme contains custom shortcodes and partial templates, as well as styling customizations and assets not included with the base theme. The layouts directory in the main repo is the final layout override, and contains any site-specific assets. See theme components for information on theme overrides and https://gohugo.io/templates/lookup-order/ for information on Hugo's default lookup order.

Resources

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.