This repository contains the documentation for the 10 TeV Wakefield Collider Design Study simulation tools and examples.
git clone https://github.com/10TeV-wakefield-collider/simulation_guide.git
cd simulation_guide
-
If you don't have Conda installed, you can download it from the official website.
-
Create a new conda environment:
conda create -n simulation-docs python=3.8 conda activate simulation-docs
-
Install the required dependencies from requirements.txt:
pip install -r requirements.txt
-
Make sure you have activated the conda environment:
conda activate simulation-docs
-
Navigate to the docs directory:
cd docs
-
Build the HTML documentation:
make html
-
View the documentation:
- The built documentation will be available in
docs/_build/html/
- Open
docs/_build/html/index.html
in your web browser
- The built documentation will be available in
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.
-
Fork the repository, if you have not already done so:
- Go to https://github.com/10TeV-wakefield-collider/simulation_guide
- Click the "Fork" button in the top-right corner
-
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
-
Create a new branch for your changes:
git checkout -b your-branch-name
-
Make your changes to the documentation files
-
Commit and push your changes:
git add . git commit -m "Description of your changes" git push origin your-branch-name
-
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.