{"id":13418523,"url":"https://github.com/jeaye/stdman","last_synced_at":"2025-04-08T11:08:59.065Z","repository":{"id":15768751,"uuid":"18507661","full_name":"jeaye/stdman","owner":"jeaye","description":"Formatted C++20 stdlib man pages (cppreference)","archived":false,"fork":false,"pushed_at":"2024-07-06T04:03:44.000Z","size":20686,"stargazers_count":950,"open_issues_count":10,"forks_count":51,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-04-01T09:20:27.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeaye.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-04-07T05:58:30.000Z","updated_at":"2025-03-27T18:45:30.000Z","dependencies_parsed_at":"2024-10-30T14:02:08.584Z","dependency_job_id":"fa11ec41-5920-4fc4-af68-5b4b8ea12941","html_url":"https://github.com/jeaye/stdman","commit_stats":{"total_commits":93,"total_committers":14,"mean_commits":6.642857142857143,"dds":"0.25806451612903225","last_synced_commit":"81c7a44873aa0cfac45a22d9f0719c27cf1b3a07"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeaye%2Fstdman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeaye%2Fstdman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeaye%2Fstdman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeaye%2Fstdman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeaye","download_url":"https://codeload.github.com/jeaye/stdman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247829491,"owners_count":21002995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:01:03.294Z","updated_at":"2025-04-08T11:08:59.045Z","avatar_url":"https://github.com/jeaye.png","language":"C++","readme":"C++ stdlib man pages\n======\nstdman is a tool that parses archived HTML files from [cppreference](http://cppreference.com) and generates groff-formatted manual pages for Unix-based systems. The goal is to provide excellent formatting for easy readability. stdman has been tested on Linux and OS X.\n\n![Sample](res/sample.gif)\n\n### Installation\nThere's no need to compile stdman if you just want to install the man pages. Instead, just run:\n```bash\n./configure\nmake install # as a user with appropriate permissions to install\n```\nIf you need to pass options to configure, you can do so. See `./configure --help` for more updated information.  \n\n### Troubleshooting\nIf you're getting 'no manual entry for std::foo' or you're seeing the libstdc++ man pages (characterized by a huge list of typedefs when you run `man std::string`), see the following. By default, stdman will install to `/usr/local`; on some systems, the manpath does not look there first. To fix this, you have two options:  \n* Install to `/usr/share`:\n```bash\n./configure --prefix=/usr # will replace existing libstdc++ pages\nmake install\n```\n* Manage your `MANPATH` in your `~/.bashrc` (or similar):\n```bash\nexport MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/man\n```\n\n#### If your output is not colorized\nYou either need to set your pager up to colorize man pages, or you need to install a pager to do this for you. `less` will not do this by default, but it's easy enough to add. `most` will do this by default, but it doesn't ship with vim-like navigation.\n\n**To configure less:**\n```bash\n# Colors\ndefault=$(tput sgr0)\nred=$(tput setaf 1)\ngreen=$(tput setaf 2)\npurple=$(tput setaf 5)\norange=$(tput setaf 9)\n\n# Less colors for man pages\nexport PAGER=less\n# Begin blinking\nexport LESS_TERMCAP_mb=$red\n# Begin bold\nexport LESS_TERMCAP_md=$orange\n# End mode\nexport LESS_TERMCAP_me=$default\n# End standout-mode\nexport LESS_TERMCAP_se=$default\n# Begin standout-mode - info box\nexport LESS_TERMCAP_so=$purple\n# End underline\nexport LESS_TERMCAP_ue=$default\n# Begin underline\nexport LESS_TERMCAP_us=$green\n```\n\n**To install most:**  \nArch: `pacman -S most`  \nUbuntu: `apt-get install most`\n```bash\nexport MANPAGER=most # in ~/.bashrc or similar\n```\n\n### Building/Generating\nShould you want to build the source to make modifications and/or generate your own man pages, simply:\n```bash\nmake generate # will build stdman and generate man pages\n```\n**NOTE**: `make generate` expects sources will be in the `./reference/en/cpp` directory by default. See `./configure --help` to modify this.\n\n### Compilation/Generation Dependencies\n* C++11 (recommended GCC 4.9 or clang 3.4 or greater)\n* elinks (recommended 0.12pre6 or greater)\n* gzip (recommended 1.3.12 or greater)\n\n**NOTE**: Generation not tested on Windows/cygwin.\n","funding_links":[],"categories":["TODO scan for Android support in followings","Miscellaneous","C++","排序"],"sub_categories":["多项混杂"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeaye%2Fstdman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeaye%2Fstdman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeaye%2Fstdman/lists"}