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

docs: migrate documentation from Gatsby to MkDocs material #279

Merged
merged 81 commits into from
Feb 12, 2021
Merged

docs: migrate documentation from Gatsby to MkDocs material #279

merged 81 commits into from
Feb 12, 2021

Conversation

am29d
Copy link
Contributor

@am29d am29d commented Feb 2, 2021

Issue #, if available:

Description of changes:

Due to a rather high time investment for documentation maintenance (read: fight npm ecosystem), we decided to move the documentation to MkDocs material. This pull contains the migration of the content to the MkDocs.

Here is the live preview: https://am29d.github.io/aws-lambda-powertools-python/

The github workflow python_docs.yml contains for now the branch docs/mkdocs to have a live preview in my fork. It will be removed once the PR is approved.

Checklist

Breaking change checklist

RFC issue #:

  • Migration process documented
  • Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@am29d am29d added the documentation Improvements or additions to documentation label Feb 2, 2021
@to-mc to-mc self-requested a review February 2, 2021 16:59
Copy link
Contributor

@to-mc to-mc left a comment

Choose a reason for hiding this comment

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

Great changes! Added some comments inline. Not sure if its just me but the content seems quite squashed in the center of the page, so you need to do a bit of side scrolling for some of the code blocks. Can we add a stylesheet to increase the width of .md-grid?

docs/core/tracer.md Show resolved Hide resolved
docs/core/tracer.md Outdated Show resolved Hide resolved
docs/index.md Outdated Show resolved Hide resolved
docs/core/logger.md Outdated Show resolved Hide resolved
docs/core/logger.md Outdated Show resolved Hide resolved
docs/utilities/batch.md Outdated Show resolved Hide resolved
docs/utilities/parameters.md Outdated Show resolved Hide resolved
docs/utilities/parameters.md Show resolved Hide resolved
docs/utilities/validation.md Outdated Show resolved Hide resolved
docs/utilities/validation.md Outdated Show resolved Hide resolved
heitorlessa and others added 8 commits February 3, 2021 08:28
Co-authored-by: Tom McCarthy <tmac.se@gmail.com>
Co-authored-by: Tom McCarthy <tmac.se@gmail.com>
Co-authored-by: Tom McCarthy <tmac.se@gmail.com>
Co-authored-by: Tom McCarthy <tmac.se@gmail.com>
Co-authored-by: Tom McCarthy <tmac.se@gmail.com>
Co-authored-by: Tom McCarthy <tmac.se@gmail.com>
Co-authored-by: Tom McCarthy <tmac.se@gmail.com>
Co-authored-by: Tom McCarthy <tmac.se@gmail.com>
@heitorlessa
Copy link
Contributor

Great changes! Added some comments inline. Not sure if its just me but the content seems quite squashed in the center of the page, so you need to do a bit of side scrolling for some of the code blocks. Can we add a stylesheet to increase the width of .md-grid?

Same here - Experiment using a max-width between 70rem to 77rem to see how that would look like. You will need an additional CSS and use !important to override the theme.

.md-grid
    max-width: 75rem

I've committed most of @cakepietoast suggestions, so we can spend more time on the larger pieces of content we'll also need to change to best use the content area we have now :)

If you're not comfortable with the CSS pieces, leave that with me - I can also adjust the blockquotes I see on Tom's feedback too.

Alex Melnyk and others added 25 commits February 10, 2021 08:09
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
* am29d/docs/mkdocs:
  fix: formatting yaml cfn
  fix: yaml indent for cfn
  docs: set tabs for yaml/json to 2 spaces
  Update docs/core/tracer.md
  Update docs/core/tracer.md
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
@heitorlessa heitorlessa changed the title docs: migrate documentation to MkDocs material docs: migrate documentation from Gatsby to MkDocs material Feb 12, 2021
@heitorlessa
Copy link
Contributor

THANK YOU to everyone who helped us in this migration from Gatsby to MKdocs.. in no particular order

@am29d @michaelbrewer @cakepietoast @Nr18

This should be out today

@heitorlessa heitorlessa merged commit fc08062 into aws-powertools:develop Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants