Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Workflow] Add info about MermaidDumper #15102

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

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

eFrane
Copy link
Contributor

@eFrane eFrane commented Mar 14, 2021

This updates the documentation for symfony/symfony#40171.

@wouterj wouterj added the Waiting Code Merge Docs for features pending to be merged label Mar 14, 2021
@carsonbot carsonbot added this to the next milestone Mar 14, 2021
Copy link
Member

@wouterj wouterj left a comment

Choose a reason for hiding this comment

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

Hi @eFrane. You are today's hero for taking the time to document a future you proposed on the code!

I've left 3 markup related comments (reStructuredText has some overly complex syntax). Don't worry about these, we can also fix them while merging.

workflow/dumping-workflows.rst Outdated Show resolved Hide resolved
workflow/dumping-workflows.rst Outdated Show resolved Hide resolved
@@ -9,6 +9,7 @@ them as SVG or PNG images. First, install any of these free and open source
applications needed to generate the images:

* `Graphviz`_, provides the ``dot`` command;
* `Mermaid CLI`, provides the ``mmdc``command;
* `PlantUML`_, provides the ``plantuml.jar`` file (which requires Java).

Copy link
Member

Choose a reason for hiding this comment

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

We also tell people about new features using a versionadded block:

Suggested change
.. versionadded:: 5.3
The ``mermaid`` dump format was introduced in Symfony 5.3.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

While I fixed the other issues, I left out this one as the feature PR is not yet merged and although there's still plenty of time until 5.3 I erred on the cautious side.

@eFrane eFrane force-pushed the f_workflows_mermaid_dumper branch 2 times, most recently from c2e2aa0 to b7e0fe2 Compare March 14, 2021 16:11
lyrixx added a commit to symfony/symfony that referenced this pull request Apr 13, 2021
This PR was squashed before being merged into the 5.3-dev branch.

Discussion
----------

[Workflow] Add Mermaid.js dumper

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | #40165
| License       | MIT
| Doc PR        | symfony/symfony-docs#15102

Mermaid is - next to PlantUML - one of the most popular simple graphing solutions. This workflow dumper mirrors the feature set of the PlantUML dumper except that Mermaid does not currently support colored transitions.

**Things I need help with:**

- ~I basically tried to copy the code style of the surrounding files and hope everything is conforming. Please let me know if I missed something.~ I see, that's the magic of fabbot. Nice. ❤️
- There are currently no tests for the different graph direction constants, I can add those, just did not see value in doing so yet.
- I am unsure how to integrate this with the current documentation. This however is likely better discussed in the corresponding issue (see above).

Commits
-------

ada6f7d [Workflow] Add Mermaid.js dumper
symfony-splitter pushed a commit to symfony/workflow that referenced this pull request Apr 13, 2021
This PR was squashed before being merged into the 5.3-dev branch.

Discussion
----------

[Workflow] Add Mermaid.js dumper

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | #40165
| License       | MIT
| Doc PR        | symfony/symfony-docs#15102

Mermaid is - next to PlantUML - one of the most popular simple graphing solutions. This workflow dumper mirrors the feature set of the PlantUML dumper except that Mermaid does not currently support colored transitions.

**Things I need help with:**

- ~I basically tried to copy the code style of the surrounding files and hope everything is conforming. Please let me know if I missed something.~ I see, that's the magic of fabbot. Nice. ❤️
- There are currently no tests for the different graph direction constants, I can add those, just did not see value in doing so yet.
- I am unsure how to integrate this with the current documentation. This however is likely better discussed in the corresponding issue (see above).

Commits
-------

ada6f7d315 [Workflow] Add Mermaid.js dumper
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull request Apr 13, 2021
This PR was squashed before being merged into the 5.3-dev branch.

Discussion
----------

[Workflow] Add Mermaid.js dumper

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | #40165
| License       | MIT
| Doc PR        | symfony/symfony-docs#15102

Mermaid is - next to PlantUML - one of the most popular simple graphing solutions. This workflow dumper mirrors the feature set of the PlantUML dumper except that Mermaid does not currently support colored transitions.

**Things I need help with:**

- ~I basically tried to copy the code style of the surrounding files and hope everything is conforming. Please let me know if I missed something.~ I see, that's the magic of fabbot. Nice. ❤️
- There are currently no tests for the different graph direction constants, I can add those, just did not see value in doing so yet.
- I am unsure how to integrate this with the current documentation. This however is likely better discussed in the corresponding issue (see above).

Commits
-------

ada6f7d315 [Workflow] Add Mermaid.js dumper
@wouterj wouterj removed the Waiting Code Merge Docs for features pending to be merged label Apr 13, 2021
[Workflow] rst syntax fixes
@wouterj wouterj force-pushed the f_workflows_mermaid_dumper branch from b7e0fe2 to b7340c7 Compare April 13, 2021 12:31
@wouterj wouterj merged commit 87dbda0 into symfony:5.x Apr 13, 2021
@wouterj
Copy link
Member

wouterj commented Apr 13, 2021

Thank you @eFrane and congratulations with your first contributions! :)

Fyi, I've added the versionadded box while merging the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.