Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

iced-rs/iced-rs-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iced.rs docs

How to get started

  • Install zola
  • clone repo
  • cd into repo
  • zola serve
  • docs are located in content/docs
  • every new markdown file in /content/docs/ should automatically appear on /docs.
  • any headers should automatically appear automatically in the Table of Contents with anchor tags

how to add example code to to the docs

  • code examples are in code
  • create cargo new some-new-example
  • add some-new-example to the workspace members in code/Cargo.toml
  • write your code
  • add a comment //<section-name> before your example snippet
  • add a comment //</section-name> after your example snippet
  • in your content/docs/some_feature.md include your code sample with:
    {{ code(path="some-new-example/src/main.rs", section="section-name") }}

Issues

  • No source for tour
  • Tour doesn't work with zola server (should be fixed on next update)
  • links are being html escaped
  • wasm tour is kind of hacked together

TODOs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published