Skip to content

Instructions and guidelines for DevNet lab creation and beyond

Notifications You must be signed in to change notification settings

matkuliak/devnet-writing-guidelines

 
 

Repository files navigation

DevNet Writing Guidelines (Public)

Welcome to the DevNet Writing Guidelines. This repo contains DevNet's guidelines on creating learning labs, code samples, slides and setting up sandboxes for labs.

The topics below are some of the topics of most interest to newbies. For more the complete set of writing guidelines see this repo's wiki page.

On this page

Learning Labs
How do I author a learning lab?
Templates
Code conventions
Author scripts
Recommended tools

Learning Labs

The source Markdown for all of DevNet's learning labs are stored in the repos of the CiscoDevNet organization.

If you want to create and publish a Lab on the DevNet site, you must commit the lab and its associated files to a repo within the CiscoDevNet organization. The lab's Markdown, images, JSON metadata, and so on must exist in a certain directory structure. The next section explains how to do that.

How do I author a Learning Lab?

See the wiki page: How To Create A New Lab

Templates

There are two kinds of templates: one for labs and one for sample code.

Lab template

The Learning Lab template is stored in the following directory of this repo and also replicated in the CiscoDevNet/cookiecutter repo.

https://github.com/CiscoDevNet/devnet-writing-guidelines/tree/master/labs

Sample code template

The template for code samples is here:

https://github.com/CiscoDevNet/devnet-writing-guidelines/tree/master/code-samples

Code conventions

See the wiki for the style guide on DevNet coding conventions.

Author scripts

The scripts folder contains python scripts that might be useful when authoring. You do not have to use these scripts to author labs. They are just helpful tools that other authors have created.

For example, the create_new_lab.py script creates a directory structure and copies the template used to create a new lab. You could do the same thing manually.

Recommended tools

Check the wiki section for recommended tools.

About

Instructions and guidelines for DevNet lab creation and beyond

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 67.6%
  • HTML 30.5%
  • Makefile 1.9%