git: 9619dba501 - main - fdp-primer: Remove emacs validation config for docbook
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Jun 2024 18:12:53 UTC
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/doc/commit/?id=9619dba501a8d0807a2deabf42ec794d741722de commit 9619dba501a8d0807a2deabf42ec794d741722de Author: Minsoo Choo <minsoochoo0122@proton.me> AuthorDate: 2024-06-02 18:08:18 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2024-06-02 18:11:23 +0000 fdp-primer: Remove emacs validation config for docbook FreeBSD Documentation project now uses asciidoctor instead of docbook. Also, the web link for the config cannot be reached. Reviewed by: Pau Amma <pauamma@gundo.com>, bcr, jrm Differential Revision: https://reviews.freebsd.org/D42753 --- .../en/books/fdp-primer/editor-config/_index.adoc | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/documentation/content/en/books/fdp-primer/editor-config/_index.adoc b/documentation/content/en/books/fdp-primer/editor-config/_index.adoc index 181bc6495c..b89309e962 100644 --- a/documentation/content/en/books/fdp-primer/editor-config/_index.adoc +++ b/documentation/content/en/books/fdp-primer/editor-config/_index.adoc @@ -175,25 +175,6 @@ In such cases properly mention that in the commit log. Install from package:editors/emacs[] or package:editors/emacs-devel[]. -[[editor-config-emacs-validation]] -=== Validation - -Emacs's nxml-mode uses compact relax NG schemas for validating XML. -A compact relax NG schema for FreeBSD's extension to DocBook 5.0 is included in the documentation repository. -To configure nxml-mode to validate using this schema, create [.filename]#~/.emacs.d/schema/schemas.xml# and add these lines to the file: - -[source,xml] -.`~/.emacs.d/schema/schemas.xml` -.... -<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0"> - <documentElement localName="section" typeId="DocBook" /> - <documentElement localName="chapter" typeId="DocBook" /> - <documentElement localName="article" typeId="DocBook" /> - <documentElement localName="book" typeId="DocBook" /> - <typeId id="DocBook" uri="/usr/local/share/xml/docbook/5.0/rng/docbook.rnc" /> -</locatingRules> -.... - [[editor-config-emacs-igor]] === Automated Proofreading with Flycheck and Igor