Skip to content

Commit

Permalink
Build .adoc Files for GitHub Pages from ef4dc1f
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 2, 2024
0 parents commit 2ce6f92
Show file tree
Hide file tree
Showing 92 changed files with 23,111 additions and 0 deletions.
62 changes: 62 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
.vscode
.idea

.DS_Store
bin
build
.project
.classpath

*.class
*.log
.gradle
.settings
.stop___MAS

doc/faq.html
doc/api
interpreter/doc/api
doc/tech/*Parser.html
readme.html
release-notes.html
doc/tutorials/getting-started/shell-based.html
doc/tech/concurrency.html
doc/tech/annotations.html

*~

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
#*.jar
*.war
*.ear

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

bookstore.*
doc/index.html

APDescription.txt
MTPs-Main-Container.txt
demos/persistent-belief-base/bookstore.log
doc/tech/unit-tests.html
doc/tech/patterns.html
doc/tutorials/getting-started/index.html
src/main/resources/np31.zip
src/main/resources/scripts/np31.zip
examples/sniffer/sniff.script
examples/sniffer/sniff.properties
interpreter/doc/tech/jason/asSyntax/parser/AS2JavaParser.html
interpreter/doc/tech/jason/mas2j/parser/MAS2JavaParser.html
jason-cli/docs/vscode/index.html
doc/tech/jason/asSyntax/parser/AS2JavaParser.html
doc/tech/jason/mas2j/parser/MAS2JavaParser.html
doc/jason-cli/commands.html
jason-interpreter/gradle.properties
jason-interpreter/settings.gradle
doc/install.html
doc/index.html
doc/doc.html
Binary file added Jason.pdf
Binary file not shown.
Empty file added adoc-empty.css
Empty file.
4 changes: 4 additions & 0 deletions asciidoc-docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
echo asciidoc for $@
IMAGE=jomifred/adoc
exec docker run --rm -i --user="$(id -u):$(id -g)" --net=none -v "$PWD":/app "$IMAGE" asciidoctor -r /pygments_init.rb "$@"
1,848 changes: 1,848 additions & 0 deletions faq.html

Large diffs are not rendered by default.

555 changes: 555 additions & 0 deletions index.html

Large diffs are not rendered by default.

494 changes: 494 additions & 0 deletions install.html

Large diffs are not rendered by default.

617 changes: 617 additions & 0 deletions jason-cli/commands.html

Large diffs are not rendered by default.

Binary file added jason-cli/figs/s1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
770 changes: 770 additions & 0 deletions jason-cli/index.html

Large diffs are not rendered by default.

770 changes: 770 additions & 0 deletions jason-cli/readme.html

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# by Jomi
#

cd ..
./gradlew renderAsciidoc
./gradlew javadoc
cd doc
cp readme.html index.html
scp -r * $USERSF,jason@web.sf.net:/home/groups/j/ja/jason/htdocs/doc
26 changes: 26 additions & 0 deletions publishDocInGHPages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
cd ..

./gradlew doc

rm -rf ../jason-pages/api
rm -rf ../jason-pages/doc

#asciidoctor -a stylesheet=adoc-empty.css readme.adoc -o doc.html
IMAGE=jomifred/adoc
docker run --rm -i --user="$(id -u):$(id -g)" --net=none -v "$PWD":/app "$IMAGE" asciidoctor -r /pygments_init.rb -a stylesheet=adoc-empty.css readme.adoc -o doc.html

cp -R jason-interpreter/build/docs/javadoc ../jason-pages/api
cp -R doc ../jason-pages

cd ../jason-pages
git add api
git commit -a -m "add javadoc api"

#find doc -name readme.html -execdir cp readme.html index.html \;
git add doc
git commit -a -m "add jason github doc folder"

git push



2 changes: 2 additions & 0 deletions publishFAQ.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../scripts/asciidoc-docker faq.adoc
scp faq.html $USERSF,jason@web.sf.net:/home/groups/j/ja/jason/htdocs/doc
555 changes: 555 additions & 0 deletions readme.html

Large diffs are not rendered by default.

3,611 changes: 3,611 additions & 0 deletions release-notes.html

Large diffs are not rendered by default.

Binary file added tech/Jason Operators and Events.pdf
Binary file not shown.
709 changes: 709 additions & 0 deletions tech/annotations.html

Large diffs are not rendered by default.

1,063 changes: 1,063 additions & 0 deletions tech/concurrency.html

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions tech/goal-states.gv
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
// dot goal-states.gv -Tpdf -o goal-states.pdf

digraph goal_states {
node [color=gray];

compound=true;

ENTRY[shape=point,color=black,label=""];
//EXIT[shape=point,color=black,label=""];


subgraph cluster1 {
shape = rectangle; style=invis;

node [shape=oval,style=filled,color=gray, fillcolor="lightgoldenrod", fixedsize=shape,width=1.5];
S [label="suspended"];
R [label="resumed",shape=rectangle];

S->R[label=< .resume> ,fontsize="8",arrowsize=0.5];

}

subgraph cluster2 {
shape = rectangle; style=dashed; color=grey;
node [shape=oval,style=filled,color=gray, fillcolor="lightgoldenrod", fixedsize=shape,width=2];
C [label="pending"];

node [shape=rectangle,style="filled",fillcolor="lightgoldenrod",fixedsize=shape,width=2];
E [label="executing"];
P [label="waiting"];

C->E[label=< has applicable<br/>plan<br/>>,fontsize="8",arrowsize=0.5];

E->P[label=<act <br/> .wait<br/>>,fontsize="8",arrowsize=0.5];
P->E[label=<>,fontsize="8",arrowsize=0.5];
}

subgraph cluster3 {
//rankdir=LR;
shape = rectangle; style=invis;
node [shape=oval,fillcolor=white,color=gray,style=filled,fixedsize=shape,width=1,fontsize="10"];
A [label="achieved"];
F [label="failed"];
D [label="dropped"];
T [label="finished",peripheries=2];

{A,F,D} -> T [arrowsize=0.5];
}

ENTRY->C[label=< event +!>,fontsize="8",arrowsize=0.5];

C->F[label=< no plan<br/>>,fontsize="8",arrowsize=0.5];

E->A[label=<plan finished>,fontsize="8",arrowsize=0.5];
P->D[label=<.drop_intention<br/>.drop_desire>,fontsize="8",arrowsize=0.5,ltail=cluster2];

C -> F [label=<.fail_goal<br/>failure>,fontsize="8",arrowsize=0.5,ltail=cluster2];
E -> A [label=<.succeed_goal>,fontsize="8",arrowsize=0.5,ltail=cluster2];

F -> E [label=<has contingence<br/>plan>,fontsize="8",arrowsize=0.5];

P->S[label=<.suspend>,fontsize="8",arrowsize=0.5,ltail=cluster2];
R->P[label=<> ,fontsize="8",arrowsize=0.5,lhead=cluster2];

subgraph cluster0 {
label = "key"; fontsize="10";
rankdir=LR; shape = rectangle; style=dotted; color=grey;
//key4 [label=<<i>^meta event</i> >, shape=plaintext,fontsize="10",];
key2 [label=".desire\n.intend",shape=rectangle,style=filled,fontsize="8", fillcolor=lightgoldenrod,width=0.5];
key1 [label=".desire", shape=oval, style=filled,fontsize="8", fillcolor=lightgoldenrod,width=0.5];
//key3 [label="finished", shape=oval, style=filled,fontsize="10", fillcolor=lightgrey,fixedsize=shape,width=1];
}
}
Binary file added tech/goal-states.pdf
Binary file not shown.
24 changes: 24 additions & 0 deletions tech/intention-states.gv
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// dot intention-states.gv -Tpdf -o intention-states.pdf

digraph intention_states {
compound=true;

ENTRY[shape=point,color=black,label=""];
EXIT[shape=point,color=black,label=""];

node [shape=oval,style=filled,color=gray, fillcolor="lightgoldenrod", fixedsize=shape,width=2];
R [label=<<b>running</b><br/><font point-size="8">(I,E,SE,SI)</font>>];
S [label=<<b>suspended</b><br/><font point-size="8">(PI,PE)</font>>];
P [label=<<b>waiting</b><br/><font point-size="8">(PI,PA)</font>>];

R->S[arrowsize=0.5];
S->R[arrowsize=0.5];

R->P[arrowsize=0.5]; //[label=<<i>^resumed</i>>,fontsize="8",arrowsize=0.5];
P->R[arrowsize=0.5];


ENTRY->R[arrowsize=0.5];
{R,S,P} -> EXIT [arrowsize=0.5];

}
Binary file added tech/intention-states.pdf
Binary file not shown.
Binary file added tech/modules-namespaces.pdf
Binary file not shown.
Loading

0 comments on commit 2ce6f92

Please sign in to comment.