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

Remove Shaape support #320

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ ifndef::env-site[:status:]
:uri-py-plantuml: https://code.google.com/p/asciidoc-plantuml/
:uri-rackdiag: http://blockdiag.com/en/nwdiag/index.html
:uri-seqdiag: http://blockdiag.com/en/seqdiag/index.html
:uri-shaape: https://github.com/christiangoltz/shaape
:uri-smcat: https://github.com/sverweij/state-machine-cat
:uri-svgbob: https://github.com/ivanceras/svgbobrus
:uri-symbolator: https://github.com/kevinpt/symbolator
Expand All @@ -53,7 +52,7 @@ ifndef::env-site[:status:]

Asciidoctor Diagram is a set of Asciidoctor extensions that enable you to add diagrams, which you describe using plain text, to your AsciiDoc document.

The extensions supports the {uri-a2s}[AsciiToSVG], BlockDiag ({uri-blockdiag}[BlockDiag], {uri-seqdiag}[SeqDiag], {uri-actdiag}[ActDiag], {uri-nwdiag}[NwDiag]), {uri-bytefield}[Bytefield-SVG], {uri-ditaa}[Ditaa], {uri-dpic}[dpic], {uri-erd}[Erd], {uri-gnuplot}[Gnuplot], {uri-dot}[GraphViz], {uri-mermaid}[Mermaid], {uri-mscgen}[Msc], {uri-nomnoml}[Nomnoml], {uri-pikchr}[Pikchr], {uri-plantuml}[PlantUML], {uri-shaape}[Shaape], {uri-smcat}[State Machine Cat], {uri-svgbob}[SvgBob], {uri-symbolator}[Symbolator], {uri-syntrax}[Syntrax], {uri-umlet}[UMLet], {uri-vega}[Vega], {uri-vegalite}[Vega-Lite] and {uri-wavedrom}[WaveDrom] syntax.
The extensions supports the {uri-a2s}[AsciiToSVG], BlockDiag ({uri-blockdiag}[BlockDiag], {uri-seqdiag}[SeqDiag], {uri-actdiag}[ActDiag], {uri-nwdiag}[NwDiag]), {uri-bytefield}[Bytefield-SVG], {uri-ditaa}[Ditaa], {uri-dpic}[dpic], {uri-erd}[Erd], {uri-gnuplot}[Gnuplot], {uri-dot}[GraphViz], {uri-mermaid}[Mermaid], {uri-mscgen}[Msc], {uri-nomnoml}[Nomnoml], {uri-pikchr}[Pikchr], {uri-plantuml}[PlantUML], {uri-smcat}[State Machine Cat], {uri-svgbob}[SvgBob], {uri-symbolator}[Symbolator], {uri-syntrax}[Syntrax], {uri-umlet}[UMLet], {uri-vega}[Vega], {uri-vegalite}[Vega-Lite] and {uri-wavedrom}[WaveDrom] syntax.

Each extension runs the diagram processor to generate an SVG, PNG, or TXT file from the input text.
The generated file is then inserted into your converted document.
Expand Down Expand Up @@ -144,7 +143,6 @@ The following diagram types and output formats are available:
|{uri-plantuml}[plantuml] | | |{check}|{check}|{check}
|{uri-rackdiag}[rackdiag] | |{check}|{check}|{check}|
|{uri-seqdiag}[seqdiag] | |{check}|{check}|{check}|
|{uri-shaape}[shaape] | | |{check}|{check}|
|{uri-smcat}[smcat] | | | |{check}|
|{uri-svgbob}[svgbob] | | | |{check}|
|{uri-symbolator}[symbolator]| |{check}|{check}|{check}|
Expand Down Expand Up @@ -264,7 +262,7 @@ or load and register each extension individually.
require 'asciidoctor-diagram/<extension_name>'
----

`<extension_name>` can be one of `a2s`, `blockdiag`, `bytefield`, `ditaa`, `dpic`, `erd`, `gnuplot`, `graphviz`, `meme`, `mermaid`, `msc`, `pikchr`, `plantuml`, `shaape`, `smcat`, `svgbob`, `syntrax`, `umlet`, `vega` or `wavedrom`.
`<extension_name>` can be one of `a2s`, `blockdiag`, `bytefield`, `ditaa`, `dpic`, `erd`, `gnuplot`, `graphviz`, `meme`, `mermaid`, `msc`, `pikchr`, `plantuml`, `smcat`, `svgbob`, `syntrax`, `umlet`, `vega` or `wavedrom`.

Requiring one or more of these files will automatically register the extensions for all processed documents.

Expand Down Expand Up @@ -336,7 +334,6 @@ The following table lists the tools that are required for each diagram type, the
|plantuml |{uri-java}[Java] |`java`
|rackdiag |{uri-nwdiag}[NwDiag] |`rackdiag`
|seqdiag |{uri-seqdiag}[SeqDiag] |`seqdiag`
|shaape |{uri-shaape}[Shaape] |`shaape`
|smcat |{uri-smcat}[State Machine Cat] |`smcat`
|svgbob |{uri-svgbob}[SvgBob] |`svgbob`
|symbolator |{uri-symbolator}[Symbolator] |`symbolator`
Expand Down
7 changes: 2 additions & 5 deletions README_zh-CN.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@ ifndef::env-site[:status:]
:uri-py-plantuml: https://code.google.com/p/asciidoc-plantuml/
:uri-rackdiag: http://blockdiag.com/en/nwdiag/index.html
:uri-seqdiag: http://blockdiag.com/en/seqdiag/index.html
:uri-shaape: https://github.com/christiangoltz/shaape
:uri-wavedrom: http://wavedrom.com
:uri-wavedromeditor: https://github.com/wavedrom/wavedrom.github.io/releases
:uri-wavedromcli: https://github.com/wavedrom/cli

Asciidoctor Diagram 是一组 Asciidoctor 扩展,它可以让你向 AsciiDoc 文档中添加图表,而这些图表则是使用纯文本描述的。

扩展支持 BlockDiag (BlockDiag、SeqDiag、ActDiag、NwDiag), Ditaa、GraphViz、Mermaid、PlantUML、Shaape 和 WaveDrom 语法。
扩展支持 BlockDiag (BlockDiag、SeqDiag、ActDiag、NwDiag), Ditaa、GraphViz、Mermaid、PlantUML 和 WaveDrom 语法。

每个扩展都是运行图表处理器,然后根据输入文本来生成一个 SVG、PNG 或 TXT 文件。
生成的文件随后插入到你处理过的文档中。
Expand Down Expand Up @@ -125,7 +124,6 @@ gem 'asciidoctor-diagram', '~> 1.4.0'
|{uri-plantuml}[plantuml] | |{check}|{check}|{check}
|{uri-rackdiag}[rackdiag] | |{check}|{check}|
|{uri-seqdiag}[seqdiag] | |{check}|{check}|
|{uri-shaape}[shaape] | |{check}|{check}|
|{uri-wavedrom}[wavedrom] | |{check}|{check}|
|===

Expand Down Expand Up @@ -240,7 +238,7 @@ require 'asciidoctor-diagram'
require 'asciidoctor-diagram/<extension_name>'
----

`<extension_name>` 可以是 `blockdiag`、`ditaa`、`erd`、`graphviz`、`meme`、`mermaid`、`plantuml`、`shaape` 或 `wavedrom`。
`<extension_name>` 可以是 `blockdiag`、`ditaa`、`erd`、`graphviz`、`meme`、`mermaid`、`plantuml` 或 `wavedrom`。

加载一个或多个这些文件将为所有需要处理的文档自动注册这些扩展。

Expand Down Expand Up @@ -300,7 +298,6 @@ Asciidoctor Diagram 依赖外部工具来生成图片。
|plantuml |{uri-java}[Java] |`java`
|rackdiag |{uri-nwdiag}[NwDiag] |`rackdiag`
|seqdiag |{uri-seqdiag}[SeqDiag] |`seqdiag`
|shaape |{uri-shaape}[Shaape] |`shaape`
.2+|wavedrom |{uri-wavedromeditor}[WaveDrom Editor] |`wavedrom`
|{uri-wavedromcli}[WaveDrom CLI] 和 {uri-phantomjs}[PhantomJS] |`wavedrom` 和 `phantomjs`
|===
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include::partial$uris.adoc[]

Asciidoctor Diagram is a set of Asciidoctor extensions that enable you to add diagrams, which you describe using plain text, to your AsciiDoc document.

The extensions supports the {uri-a2s}[AsciiToSVG], BlockDiag ({uri-blockdiag}[BlockDiag], {uri-seqdiag}[SeqDiag], {uri-actdiag}[ActDiag], {uri-nwdiag}[NwDiag]), {uri-bytefield}[Bytefield-SVG], {uri-ditaa}[Ditaa], {uri-dpic}[dpic], {uri-erd}[Erd], {uri-gnuplot}[Gnuplot], {uri-dot}[GraphViz], {uri-mermaid}[Mermaid], {uri-mscgen}[Msc], {uri-nomnoml}[Nomnoml], {uri-pikchr}[Pikchr], {uri-plantuml}[PlantUML], {uri-shaape}[Shaape], {uri-smcat}[State Machine Cat], {uri-svgbob}[SvgBob], {uri-symbolator}[Symbolator], {uri-syntrax}[Syntrax], {uri-umlet}[UMLet], {uri-vega}[Vega], {uri-vegalite}[Vega-Lite] and {uri-wavedrom}[WaveDrom] syntax.
The extensions supports the {uri-a2s}[AsciiToSVG], BlockDiag ({uri-blockdiag}[BlockDiag], {uri-seqdiag}[SeqDiag], {uri-actdiag}[ActDiag], {uri-nwdiag}[NwDiag]), {uri-bytefield}[Bytefield-SVG], {uri-ditaa}[Ditaa], {uri-dpic}[dpic], {uri-erd}[Erd], {uri-gnuplot}[Gnuplot], {uri-dot}[GraphViz], {uri-mermaid}[Mermaid], {uri-mscgen}[Msc], {uri-nomnoml}[Nomnoml], {uri-pikchr}[Pikchr], {uri-plantuml}[PlantUML], {uri-smcat}[State Machine Cat], {uri-svgbob}[SvgBob], {uri-symbolator}[Symbolator], {uri-syntrax}[Syntrax], {uri-umlet}[UMLet], {uri-vega}[Vega], {uri-vegalite}[Vega-Lite] and {uri-wavedrom}[WaveDrom] syntax.

Each extension runs the diagram processor to generate an SVG, PNG, or TXT file from the input text.
The generated file is then inserted into your converted document.
Expand All @@ -18,4 +18,4 @@ include::partial$create_diagram.adoc[]

include::partial$generate.adoc[]

include::partial$advanced.adoc[]
include::partial$advanced.adoc[]
3 changes: 1 addition & 2 deletions docs/modules/ROOT/partials/advanced.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ or load and register each extension individually.
require 'asciidoctor-diagram/<extension_name>'
----

`<extension_name>` can be one of `a2s`, `blockdiag`, `bytefield`, `ditaa`, `dpic`, `erd`, `gnuplot`, `graphviz`, `meme`, `mermaid`, `msc`, `pikchr`, `plantuml`, `shaape`, `smcat`, `svgbob`, `syntrax`, `umlet`, `vega` or `wavedrom`.
`<extension_name>` can be one of `a2s`, `blockdiag`, `bytefield`, `ditaa`, `dpic`, `erd`, `gnuplot`, `graphviz`, `meme`, `mermaid`, `msc`, `pikchr`, `plantuml`, `smcat`, `svgbob`, `syntrax`, `umlet`, `vega` or `wavedrom`.

Requiring one or more of these files will automatically register the extensions for all processed documents.

Expand Down Expand Up @@ -88,7 +88,6 @@ The following table lists the tools that are required for each diagram type, the
|plantuml |{uri-java}[Java] |`java`
|rackdiag |{uri-nwdiag}[NwDiag] |`rackdiag`
|seqdiag |{uri-seqdiag}[SeqDiag] |`seqdiag`
|shaape |{uri-shaape}[Shaape] |`shaape`
|smcat |{uri-smcat}[State Machine Cat] |`smcat`
|svgbob |{uri-svgbob}[SvgBob] |`svgbob`
|symbolator |{uri-symbolator}[Symbolator] |`symbolator`
Expand Down
3 changes: 1 addition & 2 deletions docs/modules/ROOT/partials/create_diagram.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ The following diagram types and output formats are available:
|{uri-plantuml}[plantuml] | | |{check}|{check}|{check}
|{uri-rackdiag}[rackdiag] | |{check}|{check}|{check}|
|{uri-seqdiag}[seqdiag] | |{check}|{check}|{check}|
|{uri-shaape}[shaape] | | |{check}|{check}|
|{uri-smcat}[smcat] | | | |{check}|
|{uri-svgbob}[svgbob] | | | |{check}|
|{uri-symbolator}[symbolator]| |{check}|{check}|{check}|
Expand Down Expand Up @@ -127,4 +126,4 @@ DiagramBlock <|-- PlantUmlBlock
<3> The output format is entered in the third positional attribute.

.Rendered PlantUML diagram
image::asciidoctor-diagram-classes.png[Asciidoctor Diagram classes diagram]
image::asciidoctor-diagram-classes.png[Asciidoctor Diagram classes diagram]
3 changes: 1 addition & 2 deletions docs/modules/ROOT/partials/uris.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
:uri-py-plantuml: https://code.google.com/p/asciidoc-plantuml/
:uri-rackdiag: http://blockdiag.com/en/nwdiag/index.html
:uri-seqdiag: http://blockdiag.com/en/seqdiag/index.html
:uri-shaape: https://github.com/christiangoltz/shaape
:uri-smcat: https://github.com/sverweij/state-machine-cat
:uri-svgbob: https://github.com/ivanceras/svgbobrus
:uri-symbolator: https://github.com/kevinpt/symbolator
Expand All @@ -34,4 +33,4 @@
:uri-vegalite: https://vega.github.io/vega-lite/
:uri-wavedrom: http://wavedrom.com
:uri-wavedromeditor: https://github.com/wavedrom/wavedrom.github.io/releases
:uri-wavedromcli: https://github.com/wavedrom/cli
:uri-wavedromcli: https://github.com/wavedrom/cli
1 change: 0 additions & 1 deletion lib/asciidoctor-diagram.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
require_relative 'asciidoctor-diagram/pikchr'
require_relative 'asciidoctor-diagram/plantuml'
require_relative 'asciidoctor-diagram/salt'
require_relative 'asciidoctor-diagram/shaape'
require_relative 'asciidoctor-diagram/smcat'
require_relative 'asciidoctor-diagram/svgbob'
require_relative 'asciidoctor-diagram/symbolator'
Expand Down
7 changes: 0 additions & 7 deletions lib/asciidoctor-diagram/shaape.rb

This file was deleted.

25 changes: 0 additions & 25 deletions lib/asciidoctor-diagram/shaape/converter.rb

This file was deleted.

14 changes: 0 additions & 14 deletions lib/asciidoctor-diagram/shaape/extension.rb

This file was deleted.

16 changes: 0 additions & 16 deletions spec/shaape_spec.rb

This file was deleted.