You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ms...@apache.org on 2020/06/18 05:44:01 UTC

[pdfbox-docs] 02/02: PDFBOX-4848: document preview mode; document HTML validation

This is an automated email from the ASF dual-hosted git repository.

msahyoun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pdfbox-docs.git

commit 49b577ebc2dc2b108025d1d559bd0c4966f4194d
Author: Maruan Sahyoun <sa...@fileaffairs.de>
AuthorDate: Thu Jun 18 07:39:23 2020 +0200

    PDFBOX-4848: document preview mode; document HTML validation
---
 content/siteupdate.md | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/content/siteupdate.md b/content/siteupdate.md
index cc642ce..1954421 100644
--- a/content/siteupdate.md
+++ b/content/siteupdate.md
@@ -55,6 +55,25 @@ $ npm install # needed only once, or if dependencies change
 $ npm run build   # to perform the build
 ~~~
 
+### Preview Changes
+
+While changing the content the website generation can be done in **Preview** mode. This will fire up a little webserver and update the browser window when there are changes so these are reflected immediately.
+~~~
+$ npm install # needed only once, or if dependencies change
+$ npm run preview   # to start the preview mode
+~~~
+
+### Validate the generated files
+
+To validate the generated website document go to the project root directory and run:
+
+~~~
+$ npm run checks
+~~~
+
+This will validate the generated HTML for conformance to the specification as well as run accessibility tests. Testing is done using [HTML-validate](https://html-validate.org/).
+
+
 ### Publish the Website (For Comitters Only)
 After you have done the local changes follow these steps to publish the content: