Skip to content

๐Ÿ“š Student Guide: How to Write & Publish Team Documentation โ€” Lego Legends

Welcome, Lego Legends engineers and storytellers! ๐ŸŒŠ๐Ÿค–

In FIRSTยฎ LEGOยฎ League, documenting your team journey is just as important as building the robot. The judges love to see how your ideas started, what failed, how you solved problems, and how your code evolved.

The best part? You don't need to know HTML or web design to update this website. You write simple notes in Markdown, and our automated cloud system builds and publishes this website for you!


โšก How the System Works (The 3-Step Magic Loop)

Whenever you have a new idea, meeting note, or mission score to share, here is what happens:

graph LR
    A["โœ๏ธ You Write<br/>Markdown (.md)"] --> B["๐Ÿ’พ Push / Commit<br/>to GitHub"]
    B --> C["๐Ÿค– GitHub Actions<br/>(Material for MkDocs)"]
    C --> D["๐ŸŒ Live Website<br/>(GitHub Pages)"]

    style A fill:#388bfd,stroke:#58a6ff,stroke-width:2px,color:#fff
    style B fill:#8957e5,stroke:#bc8cff,stroke-width:2px,color:#fff
    style C fill:#2ea043,stroke:#3fb950,stroke-width:2px,color:#fff
    style D fill:#d29922,stroke:#e3b341,stroke-width:2px,color:#fff
  1. Step 1: Write โ€” You edit or create a simple .md (Markdown) file in the doc/ folder.
  2. Step 2: Commit โ€” You save your work to GitHub (either on GitHub.com or using VS Code / git).
  3. Step 3: Auto-Publish โ€” GitHub Actions wakes up automatically, turns your Markdown into beautiful web pages using Material for MkDocs, and updates the live site in under 60 seconds!

๐Ÿ“ How to Update Docs: Choose Your Favorite Way

Method 1: Directly in Your Web Browser (Easiest & Fastest! ๐Ÿš€)

You can edit documents from any Chromebook, iPad, or laptop without installing anything!

  1. Open our team GitHub repository:
    ๐Ÿ‘‰ FLL_76265_2026_BIOGLOW on GitHub
  2. Navigate to the folder you want to update (for example, doc/journal/README.md or doc/ideas/README.md).
  3. Click the Pencil Icon (โœ๏ธ Edit this file) in the top right corner of the file.
  4. Type your notes, meeting recap, or code ideas using simple Markdown.
  5. Click the green Commit changes... button at the top right.
  6. Type a short description of what you did (e.g., "Added meeting notes for Sept 12"), and click Commit changes.
  7. That's it! In about 1 minute, your updates will appear live on the team website!

Method 2: On Your Computer Using VS Code & Git ๐Ÿ’ป

If you are working on team code or writing longer reports on your laptop:

  1. Open the repository folder in VS Code.
  2. Edit or create your Markdown file under the doc/ directory.
  3. Open your terminal and push your changes:
    git add .
    git commit -m "Update engineering journal with motor test data"
    git push origin main
    
  4. GitHub Actions will trigger automatically on your push!

๐ŸŽจ Cool Markdown Formatting Tricks

Markdown is a simple way to format text with plain keyboard symbols:

1. Headings

# Big Title (Level 1)
## Main Section (Level 2)
### Subsection (Level 3)

2. Bold, Italic & Strikethrough

**Bold text** for emphasis
*Italic text* for subtle notes
~~Crossed out~~ for discarded ideas

3. Checklists (Great for Mission Tasks!)

- [x] Test ultrasonic distance sensor
- [x] Build motorized gear attachment
- [ ] Practice Mission 03 scoring run
Renders as: - [x] Test ultrasonic distance sensor - [x] Build motorized gear attachment - [ ] Practice Mission 03 scoring run

4. Cool Colored Callout Boxes (Admonitions)

You can create eye-catching callout boxes with !!!:

!!! tip "Pro Tip for Coders"
    Always reset your motor rotation encoders to zero before leaving home base!

!!! note "Meeting Reminder"
    Next Saturday meetup is at 10:00 AM. Bring your safety glasses!

!!! warning "Watch Out"
    Keep hands clear of the active gearbox when testing at 100% motor power.

They render like this:

Pro Tip for Coders

Always reset your motor rotation encoders to zero before leaving home base!

Meeting Reminder

Next Saturday meetup is at 10:00 AM. Bring your safety glasses!

Watch Out

Keep hands clear of the active gearbox when testing at 100% motor power.

5. Pictures and Screenshots ๐Ÿ“ธ

Put images in your folder and link them:

![Caption of Robot](my_robot_photo.png)

6. Flowcharts and Diagrams (Mermaid)

You can draw flowcharts right in your notes without any drawing tools:

```mermaid
graph TD
    Start["๐ŸŸข Start in Launch Area"] --> Drive["๐Ÿš— Drive Forward 30cm"]
    Drive --> Detect["๐Ÿ‘€ Color Sensor Sees Line?"]
    Detect -->|Yes| Turn["๐Ÿ”„ Turn 90 Degrees"]
    Detect -->|No| Stop["๐Ÿ›‘ Stop & Check"]
```

Renders as:

graph TD
    Start["๐ŸŸข Start in Launch Area"] --> Drive["๐Ÿš— Drive Forward 30cm"]
    Drive --> Detect["๐Ÿ‘€ Color Sensor Sees Line?"]
    Detect -->|Yes| Turn["๐Ÿ”„ Turn 90 Degrees"]
    Detect -->|No| Stop["๐Ÿ›‘ Stop & Check"]


๐Ÿค– Where Does the Magic Happen? (GitHub Actions)

In our project, there is a special automation file located at:
.github/workflows/deploy-pages.yml

Here is what it does every time someone commits: 1. Wakes up an automated virtual machine in GitHub's cloud. 2. Installs Material for MkDocs, our documentation engine. 3. Runs mkdocs build, which converts all Markdown files into clean HTML. 4. Copies interactive web tools (the Match Timer and Mission Scoring Calculator). 5. Deploys the fresh site to GitHub Pages!

How to Check the Build Status:

  1. Go to the Actions tab on GitHub.
  2. You will see a green checkmark (โœ…) when the site finishes building.
  3. If there is a red cross (โŒ), click on it to see which file had an issue (like a broken link or typo in mkdocs.yml).

๐Ÿ›ก๏ธ Child Safety & Privacy Rules (Our AI Constitution)

Always keep our team safe online! Before publishing anything, check:

  • First Names Only: Never write teammates' last names, home addresses, or phone numbers.
  • No School Details: Do not post your school name or personal schedule.
  • Safe Photos: Ensure photos only show robots, mechanism builds, and team activities without identifying personal documents.
  • Gracious Professionalism: Keep write-ups positive, encouraging, and supportive!

You're Ready to Contribute!

Go ahead and add your thoughts, notes, and mission strategies. Every entry makes our team stronger for competition day! ๐Ÿš€๐ŸŽ‰