Correct the documentation
- Fix some style issue, typos, and examples - Follow the variable naming conventions - Fix tables both in the project and on the webpage JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély [email protected]
This commit is contained in:
1 parent
48d5eee920
commit
e93e32635f
7 files changed
+180
-153
No files matched your search
@@ -78,6 +78,13 @@ for docfile in $docs_dir/*.md; do
|
||||
sed -i -r -e 's/^!\[.*\]\(/&{{ site.baseurl }}\//' $gh_pages_dir/$docfile_base
|
||||
sed -i -r -e 's/^!\[.*\]\(\{\{ site\.baseurl \}\}\/img.*$/&{: class="thumbnail center-block img-responsive" }/' $gh_pages_dir/$docfile_base
|
||||
|
||||
# replace span tags to div
|
||||
sed -i 's/<span class=/<div class=/g' $gh_pages_dir/$docfile_base
|
||||
sed -i 's/<\/span>/<\/div>/g' $gh_pages_dir/$docfile_base
|
||||
|
||||
# remove table header separators
|
||||
sed -i '/^| ---/d' $gh_pages_dir/$docfile_base
|
||||
|
||||
# update images
|
||||
cp -Ru $docs_dir/img $gh_pages_dir
|
||||
done
|
||||
Reference in new issue
Block a user