Skip to content
Snippets Groups Projects
  1. Aug 31, 2017
    • ulif's avatar
      Use docstring only to document function. · 9b7e8a14
      ulif authored
      The documenting comment (starting with ``#: ``) is neccessary for vars
      and constants only. All these comments are used by `Sphinx` to generate
      documentation.
      9b7e8a14
    • ulif's avatar
      Reorder function. · 2694974e
      ulif authored
      Put consts at top of file and functions below. The code is better
      readable this way.
      2694974e
  2. Aug 30, 2017
  3. Aug 29, 2017
  4. Aug 28, 2017
    • drebs's avatar
      use function to get wordlists path · 07e497e5
      drebs authored
      The path to wordlist files is hardcoded in the generated sphinx
      documentation and because it may differ depending on how the package is
      installed this creates different problems:
      
        - the path hardcoded in the online api documentation may differ from
          the one in each installation, leading to incorrect information
          provided to the user of the api.
      
        - packaging diceware documentation to specific operating systems may
          generate unreproducible packages.
      
      This commit replaces the variable WORDLISTS_DIR by a function called
      get_wordlists_dir() that delays the construction of the path instead of
      doing it during module loading.
      07e497e5
  5. Aug 27, 2017
  6. Aug 26, 2017
  7. Aug 25, 2017
  8. Aug 24, 2017
  9. Aug 09, 2017
    • ulif's avatar
      Fix copyright mention. · a1dcc57d
      ulif authored
      In fact Arnold G. Reinhold copyrighted each of the pages of the
      `diceware.com` website. The idea as such was not copyrighted (and might
      be uncopyrightable).
      
      Mr. Reinhold, however, still owns a "diceware" trademark.
      a1dcc57d
  10. Aug 08, 2017
  11. Aug 07, 2017
  12. Aug 06, 2017
  13. Aug 05, 2017
    • ulif's avatar
      Add man page tempalte. · d447ad8f
      ulif authored
      We should be able to generate a more accurate man page for `diceware`.
      with `docutils` and `rst2man` we can create a nice looking man page with
      proper styles set.
      
      Yet, we onlyy provide first parts of the man page template.
      d447ad8f
  14. Jul 26, 2017
    • ulif's avatar
      Fix ReST markup. · 1a3aec6f
      ulif authored
      Make Sphinx stop complaining and fix indents.
      1a3aec6f
  15. Jul 17, 2017
  16. Jun 07, 2017
  17. Jun 06, 2017
  18. Jun 05, 2017
  19. Jun 04, 2017
  20. Jun 03, 2017
    • ulif's avatar
      Fix more tests. · e2f98db9
      ulif authored
      e2f98db9
    • ulif's avatar
      Fix test. · a5e8dc6b
      ulif authored
      We will not accept filedescriptors as `WordList` arguments anymore.
      a5e8dc6b
    • ulif's avatar
      Fix test. · effcbbd2
      ulif authored
      We will not accept filedescriptors as `WordList` arguments anymore.
      effcbbd2
  21. Jun 02, 2017
  22. May 31, 2017
    • ulif's avatar
      Remove obsolete test. · 59283682
      ulif authored
      We do not need to test `infile` as file descrtiptor, as we expect paths
      (strings) from now on.
      59283682
Loading