diff --git a/doc/publishDocInGHPages.sh b/doc/publishDocInGHPages.sh index 029152b9..234d66fc 100755 --- a/doc/publishDocInGHPages.sh +++ b/doc/publishDocInGHPages.sh @@ -2,17 +2,18 @@ cd .. ./gradlew doc -rm -rf ../jason-pages/api -rm -rf ../jason-pages/doc +SITE_PATH=../jason-lang.github.io + +rm -rf $SITE_PATH/api +rm -rf $SITE_PATH/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 +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 doc/readme.adoc -o doc/doc.html -cp -R jason-interpreter/build/docs/javadoc ../jason-pages/api -cp -R doc ../jason-pages +cp -R jason-interpreter/build/docs/javadoc $SITE_PATH/api +cp -R doc $SITE_PATH -cd ../jason-pages +cd $SITE_PATH git add api git commit -a -m "add javadoc api" @@ -21,6 +22,3 @@ git add doc git commit -a -m "add jason github doc folder" git push - - - diff --git a/doc/readme.adoc b/doc/readme.adoc index d00898f3..6a417277 100644 --- a/doc/readme.adoc +++ b/doc/readme.adoc @@ -2,7 +2,7 @@ Jason is an interpreter for an extended version of AgentSpeak. It implements the operational semantics of that language, and provides a platform for the development of multi-agent systems, with many user-customisable features. Jason is available as Open Source, and is distributed under GNU LGPL. -Jason is developed by http://https://jomifred.github.io[Jomi F. Hübner] and http://www.inf.pucrs.br/r.bordini[Rafael H. Bordini], based on previous work done with many colleagues, in particular Michael Fisher, Joyce Martins, Álvaro Moreira, Renata Vieira, Willem Visser, Mike Wooldridge, but also many others, as acknowledged in the manual (see the http://jason-lang.github.io/[Jason web site]). +Jason is developed by https://jomifred.github.io[Jomi F. Hübner] and http://www.inf.pucrs.br/r.bordini[Rafael H. Bordini], based on previous work done with many colleagues, in particular Michael Fisher, Joyce Martins, Álvaro Moreira, Renata Vieira, Willem Visser, Mike Wooldridge, but also many others, as acknowledged in the manual (see the http://jason-lang.github.io/[Jason web site]). ifdef::env-github[] NOTE: The documentation of is also available (and better rendered) at http://jason-lang.github.io/jason/. diff --git a/readme.adoc b/readme.adoc index c8c024eb..1624bd3e 100644 --- a/readme.adoc +++ b/readme.adoc @@ -5,7 +5,7 @@ Jason is an interpreter for an extended version of AgentSpeak. It implements the operational semantics of that language, and provides a platform for the development of multi-agent systems, with many user-customisable features. Jason is available as Open Source, and is distributed under GNU LGPL. -Jason is developed by http://https://jomifred.github.io[Jomi F. Hübner] and http://www.inf.pucrs.br/r.bordini[Rafael H. Bordini], based on previous work done with many colleagues, in particular Michael Fisher, Joyce Martins, Álvaro Moreira, Renata Vieira, Willem Visser, Mike Wooldridge, but also many others, as acknowledged in the manual (see the http://jason-lang.github.io/[documents] page). +Jason is developed by https://jomifred.github.io[Jomi F. Hübner] and http://www.inf.pucrs.br/r.bordini[Rafael H. Bordini], based on previous work done with many colleagues, in particular Michael Fisher, Joyce Martins, Álvaro Moreira, Renata Vieira, Willem Visser, Mike Wooldridge, but also many others, as acknowledged in the manual (see the http://jason-lang.github.io/[documents] page). == Documentation