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: have common options in a common markdown file #1648

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

mdelapenya
Copy link
Member

@mdelapenya mdelapenya commented Sep 20, 2023

What does this PR do?

This PR adds support for including markdown files into others, leveraging the mkdocs-include-markdown-plugin plugin: https://github.com/mondeja/mkdocs-include-markdown-plugin

We will define a shared markdown file for all the available and common functional options, and will include that file into all existing modules and template.

Why is it important?

When a new functional option appears, then just adding it to the file will work without having to add it to all the existing modules.

It will be included using a mkdocs plugin
@mdelapenya mdelapenya requested a review from a team as a code owner September 20, 2023 13:21
@mdelapenya mdelapenya added the documentation Docs, docs, docs. label Sep 20, 2023
@mdelapenya mdelapenya self-assigned this Sep 20, 2023
@netlify
Copy link

netlify bot commented Sep 20, 2023

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit a2bebed
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/650b0bf4b0d6a10008d12456
😎 Deploy Preview https://deploy-preview-1648--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mdelapenya
Copy link
Member Author

Merging, as this PR does not impact the core or the modules, just the docs

@mdelapenya mdelapenya merged commit e5ddd86 into testcontainers:main Sep 20, 2023
91 of 92 checks passed
@mdelapenya mdelapenya deleted the include-markdown branch September 20, 2023 15:20
mdelapenya added a commit to mdelapenya/testcontainers-go that referenced this pull request Sep 20, 2023
* main:
  docs: have common options in a common markdown file (testcontainers#1648)
  feat: add functional option for startup commands (testcontainers#1647)
  fix: support running the semver Docker image interactively (testcontainers#1646)
  fix: proper next version
  chore: prepare for next minor development cycle ()
  chore: use new version (v0.24.1) in modules and examples
  fix: avoid deadlocks when Docker is not available (testcontainers#1645)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Docs, docs, docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant