README 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. README for guile-core/doc/maint -*- text -*-
  2. The files in this directory are used by the maintainers to automate
  3. the process of updating the Guile reference manual when the docstrings
  4. in the libguile C source change.
  5. - ChangeLog is the change log for files in this directory.
  6. - README is this file.
  7. - docstring.el is a helpful Emacs Lisp library (see source for
  8. customization). The two key entry points are:
  9. `docstring-process-module' and
  10. `docstring-ediff-this-line'.
  11. - guile.texi is a snapshot of the built file libguile/guile.texi,
  12. copied last time the reference manual was determined to be in sync
  13. with the libguile source.
  14. docstring.el requires the setting of an environment variable, e.g.,
  15. export GUILE_MAINTAINER_GUILE_CORE_DIR=$HOME/guile/guile-core
  16. If the build directory differs from the source directory, an additional
  17. variable is required:
  18. export GUILE_MAINTAINER_BUILD_CORE_DIR=$HOME/guile/guile-core-build
  19. If you've just fixed a docstring in, say, ../libguile/strop.c, do in emacs:
  20. M-x load-file RET .../doc/maint/docstring.el RET
  21. M-x docstring-process-module RET (guile) RET
  22. Save all modified .texi files and copy the current ../libguile/guile.texi
  23. to ./guile.texi, then commit. See elisp var `docstring-snarfed-roots'.