Skip to content

Commit

Permalink
Updated changelog and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MeirKriheli committed Jul 30, 2024
1 parent c716746 commit 86f8a31
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 31 deletions.
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ Contributors

* Just van Rossum - https://github.com/justvanrossum
* Jakub Wilk <[email protected]>
* Christian Clauss <[email protected]>
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ Changelog

.. :changelog:
0.6.0
-----

* Added implemention selection (Python or Rust) to pybidi cli,
respecting backward comapt
* Restored older algorithm, supports both implementations closes #25
* Modernize and simplify Python code (Thanks Christian Clauss)

0.5.2
-----

Expand Down
16 changes: 16 additions & 0 deletions docs/bidi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,22 @@ bidi.bidi module
:undoc-members:
:show-inheritance:

bidi.mirror module
------------------

.. automodule:: bidi.mirror
:members:
:undoc-members:
:show-inheritance:

bidi.wrapper module
-------------------

.. automodule:: bidi.wrapper
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

Expand Down
32 changes: 1 addition & 31 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,7 @@
Welcome to Python BiDi's documentation!
=======================================

`Bi-directional`_ (BiDi) layout implementation in pure python.

.. _Bi-directional: http://en.wikipedia.org/wiki/Bi-directional_text

Installation
------------

At the command line (assuming you're using some virtualenv)::

pip install python-bidi


Usage
--------

To use Python BiDi in a project:

.. code-block:: python
import bidi
some_string = "your string goes here"
result = bidi.get_display(some_string)
Versions 0.5.1 and 0.5.2 adds compat for the older import path:

.. code-block:: python
from bidi import get_display
.. include:: ../README.rst

Contents:

Expand Down

0 comments on commit 86f8a31

Please sign in to comment.