Skip to content

Commit

Permalink
HTML, TAL, XML and SXML modules: New and Reorginized under markup (#1094
Browse files Browse the repository at this point in the history
)
  • Loading branch information
drewc authored Jan 21, 2024
1 parent fc38ac1 commit 3081b49
Show file tree
Hide file tree
Showing 45 changed files with 5,618 additions and 404 deletions.
11 changes: 10 additions & 1 deletion doc/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,19 @@ module.exports = {
'actor',
'crypto',
'protobuf',
'xml',
'parser',
'values',
'mime/',
{
title: "Markup Languages",
path: "/reference/std/markup/",
children: [
"markup/sxml/",
"markup/sxml/xml",
"markup/sxml/html/",
"markup/sxml/tal/"
]
},

{ title: "Networking Libraries",
path: "/reference/std/net/",
Expand Down
22 changes: 20 additions & 2 deletions doc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,27 @@

cd ${0%/*}

weave () {
emacs $1 --batch -l `pwd`/ox-gfm.el \
--eval '(print (org-gfm-export-to-markdown nil nil nil))' --kill ||
echo "Cannot export from org $1 to markdown using emacs"
}
weave_subtree () {
emacs $1 --batch -l `pwd`/ox-gfm.el \
--eval "(progn (goto-char (+ 1 (org-open-link-from-string \"[[#$2]]\")))
(print (org-gfm-export-to-markdown nil t nil)))" --kill ||
echo "Cannot export from org $1 subtree $2 to markdown using emacs"
}

emacs ../src/std/mime/README.org --batch -f org-gfm-export-to-markdown --kill ||
echo "Cannot export from org to markdown using emacs"



weave ../src/std/mime/README.org
weave ../src/std/markup/README.org
weave ../src/std/markup/sxml/README.org
weave ../src/std/markup/sxml/xml.org
weave ../src/std/markup/sxml/html/README.org
weave ../src/std/markup/sxml/tal/README.org


npm install
Expand Down
Loading

0 comments on commit 3081b49

Please sign in to comment.