Advertisement
Guest User

twb

a guest
Jan 26th, 2010
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. ::::::::::::::
  2. /etc/metainit/gitit.metainit
  3. ::::::::::::::
  4. Short-Description: VCS-backed wiki engine
  5. Exec: /usr/local/bin/gitit -f /etc/gitit.conf
  6. ::::::::::::::
  7. /etc/gitit.conf
  8. ::::::::::::::
  9. access-question-answers: three, 3
  10. access-question: How many fingers am I holding up?
  11. authentication-method: form
  12. base-url:
  13. cache-dir: cache
  14. compress-responses: yes
  15. debug-mode: no
  16. default-page-type: RST
  17. default-summary:
  18. feed-days: 14
  19. feed-refresh-time: 60
  20. front-page: Front Page
  21. log-file: /var/log/gitit.log
  22. log-level: WARNING
  23. mail-command: sendmail %s
  24. math: MathML
  25. max-cache-size: 2M
  26. max-upload-size: 100K
  27. mime-types-file: /etc/mime.types
  28. no-delete: Front Page, Help
  29. no-edit: Help
  30. plugins:
  31. port: 8000
  32. recaptcha-private-key:
  33. recaptcha-public-key:
  34. repository-path: /var/lib/gitit/wikidata
  35. repository-type: Darcs
  36. reset-password-message:
  37. > From: nobody@$hostname$
  38. > To: $useremail$
  39. > Subject: Wiki password reset
  40. >
  41. > Dear $username$:
  42. >
  43. > To reset your password, please follow the link below:
  44. > http://$hostname$:$port$$resetlink$
  45. >
  46. > Yours sincerely,
  47. > The Wiki Master
  48. show-lhs-bird-tracks: no
  49. static-dir: /var/lib/gitit/static
  50. table-of-contents: yes
  51. templates-dir: /var/lib/gitit/templates
  52. use-cache: no
  53. use-feed: no
  54. use-recaptcha: no
  55. user-file: /var/lib/gitit/gitit-users
  56. wiki-title: Cybersource Knowledge Base
  57. ::::::::::::::
  58. /var/lib/gitit/GNUmakefile
  59. ::::::::::::::
  60. d := $(shell date +%Y-%m-%d)
  61. v := $(shell darcs changes --count --repo wikidata)
  62. .PHONY: pdf html
  63. pdf html: %:
  64. sphinx-build -W -csphinx -Dversion='$d' -Drelease='$v' -b$* wikidata static/$*
  65. ::::::::::::::
  66. /var/lib/gitit/sphinx/conf.py
  67. ::::::::::::::
  68. ## This is for Sphinx.
  69. extensions = ["rst2pdf.pdfbuilder"]
  70. templates_path = ["sphinx/templates"]
  71. master_doc = "Front Page"
  72. source_suffix = ".page"
  73. project = "Cybersource Knowledge Base"
  74. copyright = "2010, Trent W. Buck"
  75. version = "0.0.1"
  76. release = "0.0.1"
  77. pdf_documents = [("Front Page", "KB", "Cybersource Knowledge Base", "Trent W. Buck")]
  78. htmlhelp_basename = 'KB'
  79. ::::::::::::::
  80. /var/lib/gitit/wikidata/_darcs/prefs/defaults
  81. ::::::::::::::
  82. apply posthook make -C /var/lib/gitit pdf html
  83. record posthook make -C /var/lib/gitit pdf html
  84. apply run-posthook
  85. record run-posthook
  86. ::::::::::::::
  87. /var/lib/gitit/wikidata/Front Page.page
  88. ::::::::::::::
  89. Welcome to Gitit!
  90. =================
  91.  
  92. This is the front page of your new gitit wiki. You can edit this
  93. page by clicking on the "edit" tab at the top of the screen. For
  94. instructions on how to make a link to another wiki page, see
  95. `the Help page <Help#wiki-links>`_. To create a new wiki page, just
  96. create a link to it and follow the link.
  97.  
  98. Help is always available through the "Help" link in the sidebar.
  99. More details on installing and configurating gitit are available in
  100. the `Gitit User's Guide`_.
  101.  
  102. .. _`Gitit User's Guide`: Gitit User's Guide
  103.  
  104. This wiki is automatically converted into PDF__ and static HTML__ by
  105. Sphinx_! This is currently done as a synchronous post-commit hook, so
  106. don't be surprised if it takes several seconds for gitit to get back
  107. to you after you click "Save" when editing changes.
  108.  
  109. Furthermore, if your edit confuses Sphinx, you'll see an error message
  110. instead of the normal Gitit page. Sorry about that.
  111.  
  112. .. __: /pdf/KB.pdf
  113. .. __: /html/Front Page.html
  114. .. _Sphinx: http://sphinx.pocoo.org/
  115.  
  116. .. COMMENT: the "toctree" directive is used by Sphinx and ignored by Gitit.
  117. .. toctree::
  118.  
  119. Gitit User's Guide
  120. Help
  121.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement