Skip to content

Commit

Permalink
Merge pull request #5 from kianmeng/misc-doc-changes
Browse files Browse the repository at this point in the history
Misc doc changes
  • Loading branch information
hpopp authored Aug 30, 2024
2 parents dbb5523 + 839bb98 commit 81a7a67
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 26 deletions.
1 change: 1 addition & 0 deletions .formatter.exs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Used by "mix format"
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"],
line_length: 80
Expand Down
18 changes: 12 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# The directory Mix will write compiled artifacts to.
/_build
/_build/

# If you run "mix test --cover", coverage assets end up here.
/cover
/cover/

# The directory Mix downloads your dependencies sources to.
/deps
/deps/

# Where 3rd-party dependencies like ExDoc output generated docs.
/doc
# Where third-party dependencies like ExDoc output generated docs.
/doc/

# Ignore .fetch files in case you like to edit your project deps locally.
/.fetch
Expand All @@ -19,6 +19,12 @@ erl_crash.dump
# Also ignore archive artifacts (built via "mix archive.build").
*.ez

# Ignore dialyzer files
# Ignore package tarball (built via "mix hex.build").
pane-*.tar

# Temporary files for e.g. tests.
/tmp/

# Ignore dialyzer files.
/priv/plts/*.plt
/priv/plts/*.plt.hash
17 changes: 11 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# Changelog

## v0.4.1
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v0.4.1 - 2021-02-27

**Fixed**

- Include `:iex` in `:extra_applications` to remove compile warning.

## v0.4.0
## v0.4.0 - 2020-09-28

**Changed**

Expand All @@ -16,18 +21,18 @@

- Remove deprecated compile warnings.

## v0.3.0
## v0.3.0 - 2018-01-18

- Support for (f)first and (l)last page

## v0.2.0
## v0.2.0 - 2018-01-03

- Prompt to enable ANSI codes if disabled

## v0.1.1
## v0.1.1 - 2017-03-16

- Fix: crash on invalid key command

## v0.1.0
## v0.1.0 - 2017-02-26

- Initial release
2 changes: 1 addition & 1 deletion LICENSE → LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2021 Codedge LLC (https://www.codedge.io/)
Copyright (c) 2017 Codedge LLC (https://www.codedge.io/)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[![Hex.pm](http://img.shields.io/hexpm/v/pane.svg)](https://hex.pm/packages/pane)
[![Hex.pm](http://img.shields.io/hexpm/dt/pane.svg)](https://hex.pm/packages/pane)

# Pane

[![Module Version](https://img.shields.io/hexpm/v/pane.svg)](https://hex.pm/packages/pane)
[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/pane/)
[![Total Download](https://img.shields.io/hexpm/dt/pane.svg)](https://hex.pm/packages/pane)
[![License](https://img.shields.io/hexpm/l/pane.svg)](https://github.com/codedge-llc/pane/blob/master/LICENSE)
[![Last Updated](https://img.shields.io/github/last-commit/codedge-llc/pane.svg)](https://github.com/codedge-llc/pane/commits/master)

Paginated data viewer for IEx. Written for [scribe](https://github.com/codedge-llc/scribe).
Useful for inspecting large collections and deeply nested structs.

Expand Down Expand Up @@ -32,3 +35,10 @@ end
- `f` - First page
- `l` - Last page
- `q` - Quit

## Copyright and License

Copyright (c) 2017 Codedge LLC (https://www.codedge.io/)

This library is released under the MIT License. See the [LICENSE.md](./LICENSE.md) file
for further details.
26 changes: 16 additions & 10 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
defmodule Pane.Mixfile do
use Mix.Project

@source_url "https://github.com/codedge-llc/pane"
@version "0.4.1"

def project do
[
app: :pane,
build_embedded: Mix.env() == :prod,
deps: deps(),
description: description(),
dialyzer: dialyzer(),
docs: docs(),
elixir: "~> 1.5",
Expand Down Expand Up @@ -39,16 +39,18 @@ defmodule Pane.Mixfile do
]
end

defp description do
"""
Paginated printer for IEx
"""
end

defp docs do
[
extras: [
"CHANGELOG.md",
"LICENSE.md": [title: "License"],
"README.md": [title: "Overview"]
],
main: "readme",
extras: ["README.md"]
source_url: @source_url,
source_ref: "v#{@version}",
api_reference: false,
formatters: ["html"]
]
end

Expand All @@ -60,10 +62,14 @@ defmodule Pane.Mixfile do

defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
description: "Paginated printer for IEx",
files: ["lib", "mix.exs", "README*", "LICENSE*", "CHANGELOG*"],
maintainers: ["Henry Popp"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/codedge-llc/pane"}
links: %{
"Changelog" => "https://hexdocs.pm/pane/changelog.html",
"GitHub" => "https://github.com/codedge-llc/pane"
}
]
end
end

0 comments on commit 81a7a67

Please sign in to comment.