Wiki Guide¶
Guide for contributing to and maintaining the EnergyAtlas Wiki.
Overview¶
This guide helps contributors understand how to create, edit, and maintain documentation in the EnergyAtlas Wiki. It covers markdown syntax, formatting guidelines, and best practices.
Getting Started¶
Accessing the Wiki¶
- Navigate to the wiki repository
- Clone or fork the repository
- Make changes locally
- Submit pull request or push changes
Editing Pages¶
- Find the page to edit
- Click "Edit on GitHub" (top ribbon)
- Make changes in markdown
- Preview changes
- Commit changes
Markdown Basics¶
Headings¶
1 2 3 4 | |
Text Formatting¶
1 2 3 | |
Lists¶
Unordered:
1 2 3 | |
Ordered:
1 2 3 | |
Links¶
1 2 | |
Images¶
1 2 | |
Code Blocks¶
1 2 3 4 | |
Tables¶
1 2 3 | |
Math Formulas¶
1 2 3 4 5 6 | |
Content Guidelines¶
Writing Style¶
- Clear and concise: Use simple, direct language
- Structured: Use headings and lists for organization
- Examples: Include practical examples
- Links: Link to related pages
- Images: Use images to illustrate concepts
Page Structure¶
- Title: Clear, descriptive heading
- Overview: Brief introduction
- Sections: Organized by topic
- Examples: Practical examples
- References: Links to related pages
Documentation Standards¶
- Consistency: Use consistent terminology
- Completeness: Cover all important aspects
- Accuracy: Verify technical information
- Updates: Keep content current
- Clarity: Explain concepts clearly
Adding New Pages¶
Create New File¶
- Navigate to appropriate directory
- Create new
.mdfile - Use descriptive filename
- Start with heading
Update Navigation¶
- Edit
mkdocs.yml - Add page to
navsection - Use correct path
- Save changes
Add Content¶
- Write page content
- Use proper markdown syntax
- Include examples
- Add links to related pages
- Review and edit
Editing Existing Pages¶
Making Changes¶
- Locate page to edit
- Click "Edit on GitHub"
- Make changes
- Preview if possible
- Commit changes
Updating Content¶
- Fix errors: Correct mistakes
- Add information: Expand content
- Update examples: Refresh outdated examples
- Improve clarity: Enhance explanations
- Add links: Connect related content
Image Guidelines¶
Adding Images¶
- Place images in
docs/assets/images/ - Use descriptive filenames
- Reference in markdown:
 - Add sizing classes if needed:
{.medium}
See: Image Guide for detailed image usage instructions.
Image Best Practices¶
- Optimize: Compress images for web
- Descriptive alt text: Always include alt text
- Appropriate size: Use sizing classes
- Consistent style: Maintain visual consistency
- Relevant: Images should support content
When to Use Charts vs Images¶
- Use Plotly charts for:
- Data visualization
- Interactive exploration
- Dynamic data updates
-
Multiple series comparisons
-
Use static images for:
- Screenshots
- Diagrams
- Photos
- Static illustrations
See: Plotting Guide for creating charts.
Formatting Guidelines¶
Headings¶
- Use H1 for page title only
- Use H2 for main sections
- Use H3 for subsections
- Maintain hierarchy
Code Examples¶
- Use code blocks for code
- Specify language when possible
- Include comments for clarity
- Keep examples simple
Tables¶
- Use tables for structured data
- Keep tables simple
- Include headers
- Align columns appropriately
Best Practices¶
Content Quality¶
- Accuracy: Verify all information
- Completeness: Cover topics thoroughly
- Clarity: Write clearly and simply
- Examples: Include practical examples
- Links: Connect related content
Maintenance¶
- Regular updates: Keep content current
- Fix errors: Correct mistakes promptly
- Improve clarity: Enhance explanations
- Add examples: Include more examples
- Update links: Fix broken links
Collaboration¶
- Review changes: Review before committing
- Discuss major changes: Coordinate large edits
- Follow style guide: Maintain consistency
- Document decisions: Explain major changes
- Be respectful: Maintain professional tone
Common Tasks¶
Adding a New Section¶
- Find appropriate location
- Add heading
- Write content
- Add examples
- Link to related pages
Updating Navigation¶
- Edit
mkdocs.yml - Add or modify nav entry
- Use correct file path
- Test navigation
Fixing Broken Links¶
- Identify broken link
- Find correct path
- Update link
- Verify link works
Adding Charts and Plots¶
Plotly Charts¶
EnergyAtlas Wiki supports interactive Plotly charts for data visualization.
Quick Start: - Plotting Guide - Complete guide to creating charts - Plotting Playground - Interactive testing environment
Basic Usage¶
Use Plotly JSON format in code blocks:
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
Chart Types¶
Supported chart types include: - Line charts (multi-series) - Bar charts (stacked, grouped) - Pie and donut charts - Scatter plots
See: Plotting Guide for detailed examples and customization options.
Resources¶
Documentation¶
- Image Guide - Image usage guide
- Plotting Guide - Creating interactive charts and plots
- Plotting Playground - Test and experiment with charts
- MkDocs Documentation - MkDocs reference
- Markdown Guide - Markdown syntax
Tools¶
- Markdown editors: Use markdown-aware editors
- Preview: Preview changes before committing
- Validators: Check markdown syntax
- Link checkers: Verify links work
Getting Help¶
Questions¶
- Check existing documentation
- Review similar pages
- Ask in discussions
- Contact maintainers
Issues¶
- Report bugs
- Suggest improvements
- Request features
- Provide feedback
Contributing¶
Process¶
- Fork repository: Create your own copy
- Make changes: Edit files
- Test locally: Preview changes
- Submit pull request: Propose changes
- Review feedback: Address comments
Guidelines¶
- Follow style guide
- Write clear commit messages
- Test changes locally
- Update related pages if needed
- Be patient with reviews
References¶
- Image Guide - Image usage and styling
- Plotting Guide - Creating interactive charts and visualizations
- Plotting Playground - Interactive chart testing environment
- MkDocs User Guide - MkDocs documentation
- Markdown Cheat Sheet - Quick reference