Skip to content

Commit

Permalink
doxy: tidy libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
flatcap committed Aug 2, 2021
1 parent d847a5d commit 0ed1908
Show file tree
Hide file tree
Showing 34 changed files with 64 additions and 78 deletions.
2 changes: 1 addition & 1 deletion address/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

/**
* @page lib_address ADDRESS: Email Address Handling
* @page lib_address Address
*
* Email Address Handling
*
Expand Down
4 changes: 2 additions & 2 deletions alias/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*/

/**
* @page lib_alias ALIAS: Email Aliases
* @page lib_alias Alias
*
* Email Aliases
* Email Aliases (Address Book)
*
* | File | Description |
* | :------------------ | :------------------------- |
Expand Down
4 changes: 3 additions & 1 deletion autocrypt/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
*/

/**
* @page lib_autocrypt AUTOCRYPT: End-to-end encryption
* @page lib_autocrypt Autocrypt
*
* End-to-end encryption
*
* This is an implementation of Autocrypt Level 1.1. https://autocrypt.org/
*
Expand Down
2 changes: 1 addition & 1 deletion bcache/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/

/**
* @page lib_bcache BCACHE: Body Caching - local copies of email bodies
* @page lib_bcache Bcache
*
* Body Caching - local copies of email bodies
*
Expand Down
2 changes: 1 addition & 1 deletion compmbox/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/

/**
* @page lib_compmbox COMPMBOX: Compressed Mailbox
* @page lib_compmbox Compmbox
*
* Compressed mbox local mailbox type
*
Expand Down
4 changes: 2 additions & 2 deletions compose/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*/

/**
* @page lib_compose COMPOSE: Display and edit an email's headers
* @page lib_compose Compose
*
* Display the mailboxes in a side panel
* Compose an email
*
* | File | Description |
* | :--------------------- | :----------------------------- |
Expand Down
4 changes: 3 additions & 1 deletion compress/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
*/

/**
* @page lib_compress COMPRESS: Data compression
* @page lib_compress Compress
*
* Data compression
*
* These compression methods are used by the \ref hcache.
*
Expand Down
2 changes: 1 addition & 1 deletion config/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

/**
* @page lib_config CONFIG: Flexible handling of config items
* @page lib_config Config
*
* User configurable variables.
*
Expand Down
4 changes: 2 additions & 2 deletions conn/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*/

/**
* @page lib_conn CONN: Network connections and their encryption
* @page lib_conn Conn
*
* Manage external connections.
* Network connections and their encryption
*
* | File | Description |
* | :------------------ | :----------------------- |
Expand Down
2 changes: 1 addition & 1 deletion core/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

/**
* @page lib_core CORE: Backbone objects of NeoMutt
* @page lib_core Core
*
* Backbone objects of NeoMutt
*
Expand Down
4 changes: 2 additions & 2 deletions debug/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*/

/**
* @page lib_debug DEBUG: Debugging tools
* @page lib_debug Debug
*
* Debugging tools
* Debugging code
*
* | File | Description |
* | :------------------ | :------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion email/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

/**
* @page lib_email EMAIL: Structs that make up an email
* @page lib_email Email
*
* Structs that make up an email
*
Expand Down
4 changes: 2 additions & 2 deletions gui/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*/

/**
* @page lib_gui GUI: Graphical code
* @page lib_gui Gui
*
* Curses and Window code.
* Curses and Window code
*
* | File | Description |
* | :------------------ | :------------------------- |
Expand Down
4 changes: 3 additions & 1 deletion hcache/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
*/

/**
* @page lib_hcache HCACHE: Header cache API
* @page lib_hcache Hcache
*
* Cache of Email headers
*
* The Header Cache saves data from email headers to a local store in order to
* speed up network mailboxes.
Expand Down
4 changes: 3 additions & 1 deletion helpbar/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
*/

/**
* @page lib_helpbar HELPBAR: Help line showing key bindings
* @page lib_helpbar Helpbar
*
* Help line showing key bindings
*
* This one-line Window lives at the top of the screen.
* It displays some commonly-used key bindings for the current screen.
Expand Down
2 changes: 1 addition & 1 deletion history/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

/**
* @page lib_history HISTORY: Read/write command history from/to a file
* @page lib_history History
*
* Read/write command history from/to a file
*
Expand Down
2 changes: 1 addition & 1 deletion imap/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

/**
* @page lib_imap IMAP: Network Mailbox
* @page lib_imap Imap
*
* IMAP network mailbox
*
Expand Down
4 changes: 2 additions & 2 deletions index/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*/

/**
* @page lib_index INDEX: GUI manage the main index (list of emails)
* @page lib_index Index
*
* GUI manage the main index (list of emails)
* Display a list of Emails
*
* | File | Description |
* | :------------------- | :-------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion maildir/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

/**
* @page lib_maildir MAILDIR: Local mailbox type
* @page lib_maildir Maildir
*
* Maildir local mailbox type
*
Expand Down
48 changes: 11 additions & 37 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,50 +39,24 @@
*
* ## Libraries
*
* Each library helps to untangle the code by grouping similar functions and
* reducing dependencies.
* [Each library](pages.html) helps to untangle the code by grouping similar
* functions and reducing dependencies.
*
* The goal is that each library is:
* - Self-contained (it may rely on other libraries)
* - Independently testable (i.e. without using NeoMutt)
* - Fully documented
* - Robust
*
* | Library |
* | :----------------- |
* | @ref lib_address |
* | @ref lib_alias |
* | @ref lib_autocrypt |
* | @ref lib_bcache |
* | @ref lib_compmbox |
* | @ref lib_compose |
* | @ref lib_compress |
* | @ref lib_config |
* | @ref lib_conn |
* | @ref lib_core |
* | @ref lib_debug |
* | @ref lib_email |
* | @ref lib_gui |
* | @ref lib_hcache |
* | @ref lib_helpbar |
* | @ref lib_history |
* | @ref lib_imap |
* | @ref lib_index |
* | @ref lib_maildir |
* | @ref lib_mbox |
* | @ref lib_menu |
* | @ref lib_mutt |
* | @ref lib_ncrypt |
* | @ref lib_nntp |
* | @ref lib_notmuch |
* | @ref lib_pager |
* | @ref lib_pattern |
* | @ref lib_pop |
* | @ref lib_progress |
* | @ref lib_question |
* | @ref lib_send |
* | @ref lib_sidebar |
* | @ref lib_store |
* Libraries:
* @ref lib_address, @ref lib_alias, @ref lib_autocrypt, @ref lib_bcache,
* @ref lib_compmbox, @ref lib_compose, @ref lib_compress, @ref lib_config,
* @ref lib_conn, @ref lib_core, @ref lib_debug, @ref lib_email, @ref lib_gui,
* @ref lib_hcache, @ref lib_helpbar, @ref lib_history, @ref lib_imap,
* @ref lib_index, @ref lib_maildir, @ref lib_mbox, @ref lib_menu,
* @ref lib_mutt, @ref lib_ncrypt, @ref lib_nntp, @ref lib_notmuch,
* @ref lib_pager, @ref lib_pattern, @ref lib_pop, @ref lib_progress,
* @ref lib_question, @ref lib_send, @ref lib_sidebar, @ref lib_store.
*
* ## Miscellaneous files
*
Expand Down
2 changes: 1 addition & 1 deletion mbox/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/

/**
* @page lib_mbox MBOX: Local mailbox type
* @page lib_mbox Mbox
*
* Mbox local mailbox type
*
Expand Down
4 changes: 2 additions & 2 deletions menu/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*/

/**
* @page lib_menu MENU: GUI present the user with a selectable list
* @page lib_menu Menu
*
* GUI present the user with a selectable list
* A selectable list
*
* | File | Description |
* | :--------------- | :---------------------- |
Expand Down
4 changes: 3 additions & 1 deletion mutt/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
*/

/**
* @page lib_mutt MUTT: Shared code for handling strings, files, dates, etc
* @page lib_mutt Mutt
*
* Shared code for handling strings, files, dates, etc
*
* Each source file in the library provides a group of related functions.
*
Expand Down
2 changes: 1 addition & 1 deletion ncrypt/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

/**
* @page lib_ncrypt NCRYPT: Encrypt/decrypt/sign/verify emails
* @page lib_ncrypt Ncrypt
*
* Encrypt/decrypt/sign/verify emails
*
Expand Down
2 changes: 1 addition & 1 deletion nntp/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

/**
* @page lib_nntp NNTP: Usenet network mailbox type; talk to an NNTP server
* @page lib_nntp Nntp
*
* Usenet network mailbox type; talk to an NNTP server
*
Expand Down
2 changes: 1 addition & 1 deletion notmuch/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

/**
* @page lib_notmuch NOTMUCH: Virtual mailbox type
* @page lib_notmuch Notmuch
*
* Notmuch virtual mailbox type
*
Expand Down
4 changes: 2 additions & 2 deletions pager/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
*/

/**
* @page lib_pager PAGER: GUI display contents of an email or help
* @page lib_pager Pager
*
* GUI Display contents of an email or help
* Display contents of an email or help
*
* | File | Description |
* | :------------------- | :-------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion pattern/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/

/**
* @page lib_pattern PATTERN: Match patterns to emails
* @page lib_pattern Pattern
*
* Match patterns to emails
*
Expand Down
2 changes: 1 addition & 1 deletion pop/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

/**
* @page lib_pop POP: Network mailbox
* @page lib_pop Pop
*
* POP network mailbox
*
Expand Down
2 changes: 1 addition & 1 deletion progress/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/

/**
* @page lib_progress PROGRESS: Progress Bar
* @page lib_progress Progress
*
* Progress Bar
*
Expand Down
2 changes: 1 addition & 1 deletion question/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/

/**
* @page lib_question QUESTION: Ask the user a question
* @page lib_question Question
*
* Ask the user a question
*
Expand Down
2 changes: 1 addition & 1 deletion send/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

/**
* @page lib_send SEND: Shared code for sending Emails
* @page lib_send Send
*
* Shared code for sending Emails
*
Expand Down
2 changes: 1 addition & 1 deletion sidebar/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

/**
* @page lib_sidebar SIDEBAR: Display the mailboxes in a side panel
* @page lib_sidebar Sidebar
*
* Display the mailboxes in a side panel
*
Expand Down
4 changes: 3 additions & 1 deletion store/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
*/

/**
* @page lib_store STORE: Key value store
* @page lib_store Store
*
* Key value store
*
* These databases provide Key/Value storage for NeoMutt.
* They are used by the \ref hcache.
Expand Down

0 comments on commit 0ed1908

Please sign in to comment.