{"id":18485123,"url":"https://github.com/weso/document","last_synced_at":"2025-10-30T08:53:56.660Z","repository":{"id":36791391,"uuid":"223465075","full_name":"weso/document","owner":"weso","description":"A basic scala pretty-printing library, based on Lindig's strict version of Wadler's adaptation of Hughes' pretty-printer.","archived":false,"fork":false,"pushed_at":"2024-08-20T01:24:06.000Z","size":1308,"stargazers_count":2,"open_issues_count":43,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T15:22:11.015Z","etag":null,"topics":["library","pretty-printing","scala"],"latest_commit_sha":null,"homepage":"http://weso.github.io/document","language":"Scala","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/weso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2019-11-22T18:46:15.000Z","updated_at":"2024-09-04T07:25:00.000Z","dependencies_parsed_at":"2024-11-06T12:49:54.326Z","dependency_job_id":null,"html_url":"https://github.com/weso/document","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/weso/document","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weso%2Fdocument","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weso%2Fdocument/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weso%2Fdocument/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weso%2Fdocument/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weso","download_url":"https://codeload.github.com/weso/document/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weso%2Fdocument/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260040478,"owners_count":22949839,"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":["library","pretty-printing","scala"],"created_at":"2024-11-06T12:44:21.054Z","updated_at":"2025-10-30T08:53:56.575Z","avatar_url":"https://github.com/weso.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# document\r\n\r\nThis project contains code that was developed as part of the Scala standard library but was later deprecated. \r\nWe maintain the code mainly because we used it in one of our projects and also as a small and simple test module that we can use to check continuous integration, documentation, cross-scala compilations, tests, and so on.\r\n\r\nIt consists os a basic pretty-printing library, \r\n which was based on Lindig's strict version of Wadler's adaptation of Hughes' pretty-printer derived from \r\n [Document.scala](https://github.com/scala/scala/blob/v2.11.8/src/library/scala/text/Document.scala) \r\n whose author was Michel Schinz.\r\n\r\nYou can see the [web page](https://weso.github.io/document) for technical documentation.\r\n\r\n[![Continuous Integration](https://github.com/weso/document/actions/workflows/ci.yml/badge.svg)](https://github.com/weso/document/actions/workflows/ci.yml)\r\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/es.weso/document_3/badge.svg)](https://maven-badges.herokuapp.com/maven-central/es.weso/document_3)\r\n[![codecov](https://codecov.io/gh/weso/document/branch/master/graph/badge.svg)](https://codecov.io/gh/weso/document)\r\n\r\n\r\n## Further info\r\n\r\n* [The design of a pretty-printing library](http://www.cse.chalmers.se/~rjmh/Papers/pretty.html) by John Hughes, describes the original pretty-printing library in Haskell, [PDF](http://belle.sourceforge.net/doc/hughes95design.pdf)\r\n* [Strictly Pretty Paper](https://lindig.github.io/papers/strictly-pretty-2000.pdf) by Christian Lindig, describes a strict implementation of the pretty printing algorithm in OCaml\r\n\r\n## Contribution\r\n\r\nContributions are greatly appreciated.\r\nPlease fork this repository and open a pull request to add more features or [submit issues](https://github.com/weso/document/issues)\r\n\r\n## Publishing to OSS-Sonatype\r\n\r\nThis project uses [the sbt ci release](https://github.com/olafurpg/sbt-ci-release) plugin for publishing to [OSS Sonatype](https://oss.sonatype.org/).\r\n\r\n##### SNAPSHOT Releases\r\nOpen a PR and merge it to watch the CI release a -SNAPSHOT version\r\n\r\n##### Full Library Releases\r\n1. Push a tag and watch the CI do a regular release\r\n2. `git tag -a v0.1.0 -m \"v0.1.0\"`\r\n3. `git push origin v0.1.0`\r\n_Note that the tag version MUST start with v._\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweso%2Fdocument","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweso%2Fdocument","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweso%2Fdocument/lists"}