Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

License

NotificationsYou must be signed in to change notification settings

woutdp/nix-pills

 
 

Repository files navigation

Available online as amulti-page HTML or ane-book in EPUB format.

You can also build them locally:

nix-build release.nix -A html-split && firefox result/share/doc/nix-pills/index.html

Similarly, for anEPUB version, run:

nix-build release.nix -A epub && foliate result/share/doc/nix-pills/nix-pills.epub

Development

Emacs config for a nice DocBook experience:

letpkgs=import<nixpkgs>{};inherit(pkgs)emacsPackagesNgdocbook5writeText;schemas=writeText"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 uri="${docbook5}/xml/rng/docbook/docbookxi.rnc" />   </locatingRules> '';inemacsPackagesNg.emacsWithPackages(epkgs:[(emacsPackagesNg.trivialBuild{pname="nix-docbook-mode";version="1970-01-01";src=writeText"default.el"''     (eval-after-load 'rng-loc       '(add-to-list 'rng-schema-locating-files "${schemas}"))     (global-set-key (kbd "<C-return>") 'nxml-complete)   '';})])

Then you can use the keys:

  • C-c C-b to finish & close a tag
  • C-c C-f to close a tag
  • C-return to auto-complete a tag or attribute.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix48.4%
  • CSS37.8%
  • Shell13.8%

[8]ページ先頭

©2009-2025 Movatter.jp