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

Improve documentation should be in the roadmap #386

Open
angelcervera opened this issue Jan 11, 2024 · 2 comments
Open

Improve documentation should be in the roadmap #386

angelcervera opened this issue Jan 11, 2024 · 2 comments
Labels
documentation Update doc/docs.go, pkg/pdf/example_test.go and README-md help wanted Extra attention is needed v2 will be solved in v2

Comments

@angelcervera
Copy link

angelcervera commented Jan 11, 2024

First time trying to use this library to generate pdfs in Go and is really difficult to figure out how to use it. I understand that it's a beta, but in my opinion, improving documentation should be in the roadmap as well.

If the idea is to have something like Bootstrap, maybe a good start will be explain how is working the grid system in this library. For example, size and height parameters are everywhere, but what is exactly size and height? Are pixels, number of columns in a grid? etc...

Also, why don't write comments at least in the samples? If that is for people that does know how it is working, why don't help a little bit more?

@johnfercher johnfercher added documentation Update doc/docs.go, pkg/pdf/example_test.go and README-md v2 will be solved in v2 labels Jan 12, 2024
@johnfercher
Copy link
Owner

Hello, @angelcervera. You are correct, we have to improve the documentation. The V1 was completely documented, but as V2 has changed a lot we have a huge work ahead to reach the level of detail in V1.

We had two releases focused in documentation recently:

I'm also trying to connect the maroto.io and GoDoc to improve understanding:

Another thing that is missing is the examples:

Improve documentation is in our roadmap, but it will take a huge effort. I will make some changed in maroto.io and README.md to let clear that improve documentation is in our roadmap.

@johnfercher johnfercher added the help wanted Extra attention is needed label Jan 12, 2024
@johnfercher
Copy link
Owner

johnfercher commented Jan 12, 2024

V2 documention is spread between these 3 links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Update doc/docs.go, pkg/pdf/example_test.go and README-md help wanted Extra attention is needed v2 will be solved in v2
Projects
None yet
Development

No branches or pull requests

2 participants