Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional documentation, we greatly value feedback and contributions from our community.
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your bug report or contribution.
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
- A reproducible test case or series of steps
- The version of our code being used
- Any modifications you've made relevant to the bug
- Anything unusual about your environment or deployment
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
- You are working against the latest source on the master branch.
- You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
- You open an issue to discuss any significant work - we would hate for your time to be wasted.
To send us a pull request, please:
- Fork the repository.
- Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
- Ensure local tests pass.
- Commit to your fork using clear commit messages.
- Send us a pull request, answering any default questions in the pull request interface.
- Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
GitHub provides additional document on forking a repository and creating a pull request.
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.
This project has adopted the Amazon Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our vulnerability reporting page. Please do not create a public github issue.
See the LICENSE file for our project's licensing. We will ask you to confirm the licensing of your contribution.
We may ask you to sign a Contributor License Agreement (CLA) for larger changes.
This project allows you to scaffold a workshop using a AWS-styled Hugo theme.
.
├── metadata.yml <-- Metadata file with descriptive information about the workshop
├── README.md <-- This instructions file
├── deck <-- Directory for presentation deck
├── resources <-- Directory for workshop resources
│ ├── code <-- Directory for workshop modules code
│ ├── policies <-- Directory for workshop modules IAM Roles and Policies
│ └── templates <-- Directory for workshop modules CloudFormation templates
└── workshop
├── buildspec.yml <-- AWS CodeBuild build script for building the workshop website
├── config.toml <-- Hugo configuration file for the workshop website
└── content <-- Markdown files for pages/steps in workshop
└── static <-- Any static assets to be hosted alongside the workshop (ie. images, scripts, documents, etc)
└── themes <-- AWS Style Hugo Theme (Do not edit!)
This project the following folders:
deck
: The location to store your presentation materials, if not already stored centrally.resources
: Store any example code, IAM policies, or Cloudformation templates needed by the workshop here.workshop
: This is the core workshop folder. This is generated as HTML and hosted for presentation to users.
All command line directions in this documentation assume you are in the workshop
directory. Navigate there now, if you aren't there already.
cd aws-building-for-execs/workshop
Chapters are pages that contain other child pages. It has a special layout style and usually just contains a brief abstract of the section.
Discover what this template is all about and the core concepts behind it.
This template provides archetypes to create skeletons for your workshop. Begin by creating your first chapter page with the following command
cd workshop
hugo new --kind chapter intro/_index.en.md
By opening the given file, you should see the property chapter=true
on top, meaning this page is a chapter.
By default all chapters and pages are created as a draft. If you want to render these pages, remove the property draft = true
from the metadata.
Then, create content pages inside the previously created chapter. Here are two ways to create content in the chapter:
hugo new intro/first-content.en.md
hugo new intro/second-content/_index.en.md
Feel free to edit thoses files by adding some sample content and replacing the title
value in the beginning of the files.
Launch by using the following command:
hugo serve
Go to http://localhost:1313
You should notice three things:
- You have a left-side Intro menu, containing two submenus with names equal to the
title
properties in the previously created files. - The home page explains how to customize it by following the instructions.
- When you run
hugo serve
, when the contents of the files change, the page automatically refreshes with the changes. Neat!
Alternatively, you can run the following command in a terminal window to tell Hugo to automatically rebuild whenever a file is changed. This can be helpful when rapidly iterating over content changes.
hugo serve -D