Editing Guide for Quantum Computing Class Site
This guide provides instructions on how to edit and update the content of the Quantum Computing class site hosted on GitHub and built using MkDocs.
Navigating to the GitHub Repository
- Accessing the Repository: To start editing, navigate to the GitHub repository for the site. You can find the link at the top of the page on the class site or here.
- Understanding the File Structure: Familiarize yourself with the repository's file structure. Key directories include
docs
(containing Markdown files for site pages) andpapers
(holding academic papers and resources).
Updating Different Sections:
Papers
- Navigate to the Papers directory in the gitlab repository.
- Upload the PDF or document file.
- Go to Papers.md located in the docs\papers directory of the gitlab repository.
- Update the 'Papers.md' file with a link to the new paper using Markdown format. Format:
- Example format:
[Paper Title](./papers/your_paper_file.pdf) - Brief description or abstract
.
Job Listings
- Navigate to the
Job_listing.md
file. - Add new job opportunities using the format provided in the file.
News
- Navigate to the
News.md
file. - Insert new news links following the format in the file (Example at the bottom of the News.md).
Assignments (Labs and Quizzes)
- Navigate to the respective directories under
Assignments
. - Add new lab or quiz files as needed.
- Update the
Labs.md
andQuizzes.md
files to link to these new materials.
Other Sections
- Edit other Markdown files (
Applications.md
,Advance Topics.md
, etc.) directly to add or update content. Follow the existing format for consistency.
Committing Changes to GitHub:
- Make Your Changes: Edit or add files as needed.
- Commit Your Changes: Use descriptive commit messages to explain what you've updated or added. (If Editing Locally, after committing, push the changes to the GitHub repository.)
Site Update Timeline
- Once a commit has been pushed to GitHub, the site will take approximately 10 minutes for the changes to appear automatically.
Editing Locally
- Clone the Repository: For significant changes or to preview changes live, clone the repository to your local machine.
- Local Testing: Use
mkdocs serve
to run a local server and see your changes instantly. - Push to GitHub: Once satisfied with your changes locally, push them to the GitHub repository.
Note: Always ensure your updates are accurate and relevant to the course. Preview changes before pushing to avoid errors on the live site.
Version Control With Git
This is a good starting point for those new to git and GitHub