vala-lang / vala-docs

Vala Documentation Website
https://docs.vala.dev/
Creative Commons Attribution Share Alike 4.0 International
2 stars 9 forks source link

improve samples management #60

Open lw64 opened 3 days ago

lw64 commented 3 days ago

I just found this sphinx feature:

https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-literalinclude

I think we should use this for vala samples, it makes it much more easy and also has the benefit that you can look at the raw samples without all the text around it. (on gitlab (maybe a link to there would be even useful)

colinkiama commented 2 days ago

Thanks for sharing this. This makes it much easier to include add code examples to the website