diff --git a/data_lang/htm8-test.sh b/data_lang/htm8-test.sh index a62da6e94..60fda22f7 100755 --- a/data_lang/htm8-test.sh +++ b/data_lang/htm8-test.sh @@ -66,13 +66,21 @@ EOF # Takes ~13 seconds test-site() { + local new_site=${1:-} + # TODO: # - test that the top level lexes # - test that each tag lexers # - test that each quoted attribute lexes # - test that tags are balanced - pushd ../../oilshell/oilshell.org__deploy + if test -n "$new_site"; then + dir='../oils.pub__deploy' + else + dir='../../oilshell/oilshell.org__deploy' + fi + + pushd $dir # Too many files # site-files | xargs wc -l | grep total diff --git a/doc/j8-notation.md b/doc/j8-notation.md index 439f934d4..e5f451c2d 100644 --- a/doc/j8-notation.md +++ b/doc/j8-notation.md @@ -269,7 +269,7 @@ These relationships might help you understand the 3 styles of strings: -Strings representable by `b''`
+Strings representable by `b''`
= All Byte Strings diff --git a/doc/proc-func.md b/doc/proc-func.md index 38ce4e946..170be2d26 100644 --- a/doc/proc-func.md +++ b/doc/proc-func.md @@ -149,8 +149,8 @@ doc will elaborate on these issues. - `camelCase` - tr - [Syntax Mode](command-vs-expression-mode.html) of call site - - Command Mode - - Expression Mode + - Command Mode + - Expression Mode - tr - Kinds of Parameters / Arguments - diff --git a/doc/ysh-doc-processing.md b/doc/ysh-doc-processing.md index 95fc2cd5d..0091368c7 100644 --- a/doc/ysh-doc-processing.md +++ b/doc/ysh-doc-processing.md @@ -65,8 +65,8 @@ Design goals: ## Operations -- doc('

') - validates it and creates a value.Obj -- docQuery(mydoc, '#element') - does a simple search +- `doc('

')` - validates it and creates a value.Obj +- `docQuery(mydoc, '#element')` - does a simple search Constructors: