{"id":16661638,"url":"https://github.com/jml/open-haddock","last_synced_at":"2025-04-09T18:52:29.378Z","repository":{"id":136249584,"uuid":"45266072","full_name":"jml/open-haddock","owner":"jml","description":"Quickly open documentation for Haskell packages or modules from the command line","archived":false,"fork":false,"pushed_at":"2021-01-16T09:48:57.000Z","size":20,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-23T20:51:14.174Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jml.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":"2015-10-30T17:27:28.000Z","updated_at":"2021-05-14T18:39:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"321c863e-95e0-4ccd-b4cd-3d4f258ef2ad","html_url":"https://github.com/jml/open-haddock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jml%2Fopen-haddock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jml%2Fopen-haddock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jml%2Fopen-haddock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jml%2Fopen-haddock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jml","download_url":"https://codeload.github.com/jml/open-haddock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248093006,"owners_count":21046597,"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-10-12T10:35:41.606Z","updated_at":"2025-04-09T18:52:29.362Z","avatar_url":"https://github.com/jml.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# open-haddock\n\n_Quickly open documentation for Haskell packages or modules from the command\nline_\n\n## Motivation\n\nThis is for any Haskell programmer who has wanted to:\n\n* look up documentation while offline\n* find the documentation for the version of the package they actually have,\n  rather than whatever the latest version happens to be\n\nIn particular, if you use nix or cabal sandboxes, this is the command-line\ntool for you.\n\nAll you have to do is run `open-haddock` followed by either the name of a\npackage (e.g. `text`) or the name of a module (e.g. `Control.Monad`).\n\n\n## Examples\n\n```\n$ open-haddock Data.Text\n\u003cbrowser opens local documentation for Data.Text\u003e\n```\n\n```\n$ open-haddock text\n\u003cbrowser opens local documentation for text package\u003e\n```\n\n```\n$ open-haddock --dry-run Turtle.Options\n/nix/store/n3rgkskgjdph4ykqi845z5ayspzqbfqr-turtle-1.2.2/share/doc/x86_64-osx-ghc-7.10.2/turtle-1.2.2/html/Turtle-Options.html\n```\n\n```\n$ open-haddock --dry-run turtle\n/nix/store/n3rgkskgjdph4ykqi845z5ayspzqbfqr-turtle-1.2.2/share/doc/x86_64-osx-ghc-7.10.2/turtle-1.2.2/html/index.html\n```\n\n## Installation\n\nDownload the source from https://github.com/jml/open-haddock/ and install\nusing either `cabal` or `nix`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjml%2Fopen-haddock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjml%2Fopen-haddock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjml%2Fopen-haddock/lists"}