Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoqnc committed Jul 3, 2024
1 parent 5c45c1f commit 8fed9ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
name: Publish package to GitHub Packages

on:
push:
branches:
- feature/package-pipeline # for debug
release:
types: [created]

Expand Down
2 changes: 1 addition & 1 deletion docs/LANGUAGE_SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ It will be exported to `target/rules.json` in your language module.

You can then build whatever representation you like from this JSON export.
In Java, we provide a graph representation using the `pyvis` Python library.
The file [`parse.py`](../java/rule-graph/parse.py) is a Python script parsing the JSON and building a graph, that gets exported into an [HTML file](../docs/index.html) that you can visualize in your browser.
The file [`parse.py`](../java/rule-graph/parse.py) (which you can execute with the right requirements using [`build-graph.sh`](../java/rule-graph/build-graph.sh) if you have `pip` and `python3` installed) is a Python script parsing the JSON and building a graph, that gets exported into an [HTML file](../docs/index.html) that you can visualize in your browser.
This script can be reused in to create the same graph for the language of your choice, provided that you have exported the rules to the same JSON format.

| ![example graph](./images/graph.png) |
Expand Down

0 comments on commit 8fed9ad

Please sign in to comment.