Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(book): adding examples #300

Merged
merged 27 commits into from
Apr 21, 2023
Merged

chore(book): adding examples #300

merged 27 commits into from
Apr 21, 2023

Conversation

jeertmans
Copy link
Collaborator

This PR adds two examples of small projects that use Logos. I think it relevant to have those examples both in the handbook, as well as in the docs of the logos crates, this is why I added the scrape examples feature.

You can test it locally with RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features -Zunstable-options -Zrustdoc-scrape-examples=examples --no-deps.

It would be nice to fix the GitHub pages deployment (see https://github.com/maciejhirsz/logos/actions/runs/4693735567/jobs/8321101583) for future features, so it's easier for me and others to check that everything is fine.

Looking forward for your opinion on this PR :-)

Copy link
Owner

@maciejhirsz maciejhirsz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🚀

@maciejhirsz maciejhirsz merged commit 4980bd2 into maciejhirsz:book Apr 21, 2023
@jeertmans jeertmans mentioned this pull request Apr 21, 2023
13 tasks
jeertmans added a commit to jeertmans/logos that referenced this pull request Jun 23, 2023
* Initial commit for the Logos Handboook

* A bit more adds to the book

* chore(ci): setup automated CI for book

* chore(ci): update branches

* fix(ci): remove extra needs

* chore(docs): adding brainfuck example

* Add missing `Debug` error type requirement (maciejhirsz#298)

* chore(docs): create JSON example

* Initial commit for the Logos Handboook

* A bit more adds to the book

* chore(ci): setup automated CI for book

* chore(ci): update branches

* fix(ci): remove extra needs

* chore(docs): adding brainfuck example

* chore(docs): create JSON example

* chore(ci): test code examples

* chore(docs): scrape examples and autodoc features

* chore(docs): adding brainfuck example

* Add missing `Debug` error type requirement (maciejhirsz#298)

* chore(docs): create JSON example

* chore(ci): test code examples

* chore(docs): scrape examples and autodoc features

* Auto stash before rebase of "maciejhirsz/book"

* chore(book): typos and styling

---------

Co-authored-by: Maciej Hirsz <[email protected]>
Co-authored-by: Marcin Wojnarowski <[email protected]>
jeertmans added a commit that referenced this pull request Jun 23, 2023
* Initial commit for the Logos Handboook

* A bit more adds to the book

* chore(ci): setup automated CI for book

* chore(ci): update branches

* fix(ci): remove extra needs

* chore(docs): adding brainfuck example

* Add missing `Debug` error type requirement (#298)

* chore(docs): create JSON example

* Initial commit for the Logos Handboook

* A bit more adds to the book

* chore(ci): setup automated CI for book

* chore(ci): update branches

* fix(ci): remove extra needs

* chore(docs): adding brainfuck example

* chore(docs): create JSON example

* chore(ci): test code examples

* chore(docs): scrape examples and autodoc features

* chore(docs): adding brainfuck example

* Add missing `Debug` error type requirement (#298)

* chore(docs): create JSON example

* chore(ci): test code examples

* chore(docs): scrape examples and autodoc features

* Auto stash before rebase of "maciejhirsz/book"

* chore(book): typos and styling

---------

Co-authored-by: Maciej Hirsz <[email protected]>
Co-authored-by: Marcin Wojnarowski <[email protected]>
jeertmans added a commit to jeertmans/logos that referenced this pull request Jun 23, 2023
* Initial commit for the Logos Handboook

* A bit more adds to the book

* chore(ci): setup automated CI for book

* chore(ci): update branches

* fix(ci): remove extra needs

* chore(docs): adding brainfuck example

* Add missing `Debug` error type requirement (maciejhirsz#298)

* chore(docs): create JSON example

* Initial commit for the Logos Handboook

* A bit more adds to the book

* chore(ci): setup automated CI for book

* chore(ci): update branches

* fix(ci): remove extra needs

* chore(docs): adding brainfuck example

* chore(docs): create JSON example

* chore(ci): test code examples

* chore(docs): scrape examples and autodoc features

* chore(docs): adding brainfuck example

* Add missing `Debug` error type requirement (maciejhirsz#298)

* chore(docs): create JSON example

* chore(ci): test code examples

* chore(docs): scrape examples and autodoc features

* Auto stash before rebase of "maciejhirsz/book"

* chore(book): typos and styling

---------

Co-authored-by: Maciej Hirsz <[email protected]>
Co-authored-by: Marcin Wojnarowski <[email protected]>
jeertmans added a commit that referenced this pull request Jun 25, 2023
* Initial commit for the Logos Handboook

* A bit more adds to the book

* chore(ci): setup automated CI for book

* chore(ci): update branches

* fix(ci): remove extra needs

* chore(docs): adding brainfuck example

* Add missing `Debug` error type requirement (#298)

* chore(docs): create JSON example

* Initial commit for the Logos Handboook

* A bit more adds to the book

* chore(ci): setup automated CI for book

* chore(ci): update branches

* fix(ci): remove extra needs

* chore(docs): adding brainfuck example

* chore(docs): create JSON example

* chore(ci): test code examples

* chore(docs): scrape examples and autodoc features

* chore(docs): adding brainfuck example

* Add missing `Debug` error type requirement (#298)

* chore(docs): create JSON example

* chore(ci): test code examples

* chore(docs): scrape examples and autodoc features

* Auto stash before rebase of "maciejhirsz/book"

* chore(book): typos and styling

---------

Co-authored-by: Maciej Hirsz <[email protected]>
Co-authored-by: Marcin Wojnarowski <[email protected]>
jeertmans added a commit that referenced this pull request Jun 25, 2023
* Initial commit for the Logos Handboook

* A bit more adds to the book

* chore(ci): setup automated CI for book

* chore(ci): update branches

* fix(ci): remove extra needs

* chore(docs): adding brainfuck example

* Add missing `Debug` error type requirement (#298)

* chore(docs): create JSON example

* Initial commit for the Logos Handboook

* A bit more adds to the book

* chore(ci): setup automated CI for book

* chore(ci): update branches

* fix(ci): remove extra needs

* chore(docs): adding brainfuck example

* chore(docs): create JSON example

* chore(ci): test code examples

* chore(docs): scrape examples and autodoc features

* chore(docs): adding brainfuck example

* Add missing `Debug` error type requirement (#298)

* chore(docs): create JSON example

* chore(ci): test code examples

* chore(docs): scrape examples and autodoc features

* Auto stash before rebase of "maciejhirsz/book"

* chore(book): typos and styling

---------

Co-authored-by: Maciej Hirsz <[email protected]>
Co-authored-by: Marcin Wojnarowski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants