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

[WIP] Adding the quick reference #34

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sgenoud
Copy link
Owner

@sgenoud sgenoud commented Jun 20, 2022

No description provided.

@netlify
Copy link

netlify bot commented Jun 20, 2022

Deploy Preview for stupefied-edison-1dae54 failed.

Name Link
🔨 Latest commit 6a52b79
🔍 Latest deploy log https://app.netlify.com/sites/stupefied-edison-1dae54/deploys/62df8fa6a6573700081127d3

@cloudflare-pages
Copy link

cloudflare-pages bot commented Jun 20, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6a52b79
Status: ✅  Deploy successful!
Preview URL: https://ceb08c27.replicad.pages.dev
Branch Preview URL: https://feature-adding-quick-referen.replicad.pages.dev

View logs

@sgenoud
Copy link
Owner Author

sgenoud commented Jul 25, 2022

@raydeleu I have played a bit further with a way to import this automatically (and in a nice way) but I failed to achieve something that I would be happy with.

I would like to avoid having to do some manual editing for each change on your side.

Would you be open to modify the markdown with this type of table. Or it it is too annoying, if I create a helper for what you have your tables?

If you want to keep working with asciidoc, would you be open for me to help you have something automatically build it and be available as a link within the documentation?

@raydeleu
Copy link

raydeleu commented Jul 25, 2022 via email

@sgenoud sgenoud force-pushed the feature/adding-quick-reference branch from c52434d to 6a52b79 Compare July 26, 2022 06:54
@sgenoud
Copy link
Owner Author

sgenoud commented Jul 26, 2022

Note that as now is holiday time I can not promise on progress.

First, enjoy your holidays, hope you are not too warm!

I could also imagine using the
automatic translation and perform some manual cleanup afterwards. Perhaps
Pandoc can do some automatic translation as well. Note that as now is
holiday time I can not promise on progress.

I have used asciidoc + pandoc to do the conversion:

asciidoc -b docbook replicad-qrc.adoc
pandoc -f docbook -t markdown_mmd replicad-qrc.xml -o index.md

And then the manual cleanup you can see in this commit (note that the changes to the tables were generated by my editor, it is not necessary).

But I would need an
example how tables are created in that format and which options are
available (for example formatting within table cells).

This is using multimarkdown table syntax, you can read about it here. Not sure what your OS is, but I sometimes use Marked to see what I do live. Also VS Code has some markdown support builtin. You can even run docusaurus if you want to (yarn start from packages/replicad-docs.

I have not been very active the last weeks as I had the impression that you
were performing major changes to the sketch and drawing APIs.

Changes were mostly about fixing bugs - it feels like it does kinda work so I probably won't do big changes (additive stuff for sure, and priorising draw over sketch).

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.

None yet

2 participants