This branch is the source of the content viewable in https://nvidia.github.io/NeMo/. In order to create a blog post on the NeMo Github.io website (https://nvidia.github.io/NeMo/) you will need to write a markdown document and submit a PR to Github for this specific branch.
Preliminaries:
NVIDIA/NeMo
and not a fork, so that the docs are built immediately on push.
gh-pages-src
branchgh-pages-src
as the base, call it something else.gh-pages-src
and compare is <your branch name>
.fork/branch
, then the PR will not auto build (though the checks will “pass”).
bash build_docs.sh
to build your docs using Docker and then open site/index.html
in your browser.docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
pip install mkdocs-material
mkdocs serve
mkdocs build
and then open site/index.html
in your browser.Create a new branch from the gh-pages-src branch on NeMo. Note that you should not use a fork/branch to do this, for the changes to show up during the PR it must be a branch directly from NVIDIA/NeMo.
Open the directory docs/blogs/ folder. Here you will find template.md - copy the contents of this template file.
Go inside the folder docs/blogs/posts/{YYYY}/ for your required year (make a new folder if your year isn't there already). All markdown files inside the docs/blogs/posts folder will be turned into blogs on the website.
Create a new file with the following format - YYYY-MM-{title with dashes}.md and paste all of the contents of template.md into it.
At the top of this file, there is a header section marked by ---
: Update the following:
title: The title required. Try to make it fit in one line.
author: List of author full names separated by commas, enclosed inside [ ]
author_gh_user: List of author Github ids separated by commas, enclosed inside [ ]
readtime: An approximate read time for your post, in minutes.
date: Date in format "YYYY-MM-DD" on which the post will be merged into NeMo. Do NOT update this date after it has been published, unless absolutely required.
categories (optional): a list of string(s) describing categories that this blog belongs to. They will be displayed on the website.
optionally, update these tags to improve link preview for your blogpost:
title
field you specified aboveWrite down post content. Some extra guidance:
<!-- more -->
tag to the blog post to indicate where it should say 'Continue reading' in the blogpost preview.Create a new branch from the gh-pages-src branch on NeMo. Note that you should not use a fork/branch to do this, for the changes to show up during the PR it must be a branch directly from NVIDIA/NeMo.
Open the directory docs/overrides/ folder. Here you will find home.html
.
The Index Page is a custom website build without mkdocs. It is a simple HTML file with some custom CSS and JS.
home.html
file itself.The home.html
file is divided into a few sections -
Hero Banner
: Contains the text and buttons at the very top of the page.What is NeMo?
: Contains the text regarding what NeMo is.LLM with NeMo
: Contains the text regarding NeMo Megatron.OSS Community
: Contains the text regarding the NeMo integration with PTL and Hydra.RIVA
: Contains the text regarding NVIDIA RIVA.Most of the instructions for adding a publication are similar to the instructions for adding a new post above. The differences are:
publications
folder.There is one additional argument that is accepted by the header at the top of the page -
Continue reading >
button at the root of the publications page. If you want to link your publication to a different page, such as Arxiv.org, it is recommented to use this URL.Once your post content is ready (blogpost, website), you can now begin to publish it on Github Pages.
If you have added your blogpost to the docs/blogs/posts folder, it should be viewable in the blog when you preview it and eventually publish it. Make sure you put your blog post in the correct year folder (i.e. docs/blogs/posts/{YYYY}).
Build your docs locally to make sure it looks correct.
bash build_docs.sh
.Submit your changes to the gh-pages-src
branch following instructions above
Please DO NOT PUSH images or any type of non-text media to this folder via git push.
All media used in the post must be published elsewhere and then simple URL linked. A simple way to do this is to visit the current Released NeMo version (https://github.com/NVIDIA/NeMo/releases) and then Click on Edit release.
requirements.txt
file in requirements
directory.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4