Skip to content

Commit

Permalink
Merge pull request #30 from iluxonchik/hotfix/update-readme
Browse files Browse the repository at this point in the history
Fix formatting issues in README
  • Loading branch information
iluxonchik authored Mar 16, 2019
2 parents 51217ae + 8f82cdf commit 84bca57
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 25 deletions.
47 changes: 24 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# RFC-Bibtex
# RFC BibTex

A command line tool that creates `BibTex` entries for IETF `RFC`s and `Internet Drafts`.
It can read the list of `RFC`s and `Internet Drafts` to parse from various sources:
Expand Down Expand Up @@ -27,7 +27,7 @@ should work fine.
**Requirements**:

* `Python 3.x`
* internet connection
* Internet connection

## Testing

Expand All @@ -49,27 +49,28 @@ from the project root.

This tool automates the requests to the `https://datatracker.ietf.org/doc/<id>/<version>/bibtex/` and `https://datatracker.ietf.org/doc/<id>/bibtex/` endpoints.

usage: rfcbibtex [-h] [-f FILE_NAME] [-o FILE_NAME]
[inline_args [inline_args ...]]

Generate BibTex entries for IETF RFCs and Internet Drafts. The list of IDs can
be read from a file (including .tex and .aux) or directly from command-line
arguments.

positional arguments:
inline_args list of RFC and/or Internet Draft IDs, in any order.

optional arguments:
-h, --help show this help message and exit
-f FILE_NAME, --file FILE_NAME
read list of RFC and/or Internet Draft IDs from a
file. Supported file formats are the following: .tex,
.aux and .txt (one ID per line). If a file with any
other extension is provided, the tool attempts to read
it as a .txt file, containing one ID per line.
-o FILE_NAME, --output FILE_NAME
output the resulting BibTex to a file

```
usage: rfcbibtex [-h] [-f FILE_NAME] [-o FILE_NAME]
[inline_args [inline_args ...]]
Generate BibTex entries for IETF RFCs and Internet Drafts. The list of IDs can
be read from a file (including .tex and .aux) or directly from command-line
arguments.
positional arguments:
inline_args list of RFC and/or Internet Draft IDs, in any order.
optional arguments:
-h, --help show this help message and exit
-f FILE_NAME, --file FILE_NAME
read list of RFC and/or Internet Draft IDs from a
file. Supported file formats are the following: .tex,
.aux and .txt (one ID per line). If a file with any
other extension is provided, the tool attempts to read
it as a .txt file, containing one ID per line.
-o FILE_NAME, --output FILE_NAME
output the resulting BibTex to a file
```

## Identifier Format

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
setuptools.setup(
name='rfcbibtex',
packages = ['rfc_bibtex'],
version='0.3.1',
version='0.3.2',
author='Illya Gerasymchuk',
author_email='[email protected]',
description='Generate Bibtex entries for IETF RFCs and Internet Drafts.',
long_description=long_description,
long_description_content_type='text/markdown',
url = 'https://github.com/iluxonchik/rfc-bibtex/',
download_url = 'https://github.com/iluxonchik/rfc-bibtex/archive/0.3.1.tar.gz',
download_url = 'https://github.com/iluxonchik/rfc-bibtex/archive/0.3.2.tar.gz',
license = 'MIT',
classifiers=(
'Programming Language :: Python :: 3.6',
Expand Down

0 comments on commit 84bca57

Please sign in to comment.