Skip to content

10TeV-wakefield-collider/simulation_guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simulation Guide Documentation

This repository contains the documentation for the 10 TeV Wakefield Collider Design Study simulation tools and examples.

How to render the documentation on your local computer

Clone the repository:

git clone https://github.com/10TeV-wakefield-collider/simulation_guide.git
cd simulation_guide

Setup your conda environment

  1. If you don't have Conda installed, you can download it from the official website.

  2. Create a new conda environment:

    conda create -n simulation-docs python=3.8
    conda activate simulation-docs
  3. Install the required dependencies from requirements.txt:

    pip install -r requirements.txt

Build the Documentation Locally

  1. Make sure you have activated the conda environment:

    conda activate simulation-docs
  2. Navigate to the docs directory:

    cd docs
  3. Build the HTML documentation:

    make html
  4. View the documentation:

    • The built documentation will be available in docs/_build/html/
    • Open docs/_build/html/index.html in your web browser

Contributing to the Documentation

Modifying Documentation

The documentation is written in reStructuredText (RST) format. You can modify the .rst files directly in the docs directory. For RST syntax reference, see:

After modifying the RST files, follow the Building the Documentation Locally instructions to preview your changes.

Propose that your changes to be added in the main documentation, via Github

  1. Fork the repository, if you have not already done so:

  2. Add your fork (replace YOUR_USERNAME by your Github username)

    git remote add my_fork https://github.com/YOUR_USERNAME/simulation_guide.git
    cd simulation_guide
  3. Create a new branch for your changes:

    git checkout -b your-branch-name
  4. Make your changes to the documentation files

  5. Commit and push your changes:

    git add .
    git commit -m "Description of your changes"
    git push origin your-branch-name
  6. Create a Pull Request:

    • Go to your fork on GitHub
    • Click "New Pull Request"
    • Select your branch
    • Add a description of your changes
    • Submit the pull request

The maintainers will review your changes and provide feedback if needed.

Releases

No releases published

Packages

No packages published

Contributors 5