No description
Find a file
2024-01-11 11:02:34 +08:00
.github/workflows Update workflow to use a standardized label. 2023-01-10 13:45:55 +08:00
assets Changed back edited news articles for everything besides handles. 2023-04-07 18:51:25 -05:00
configs Initial Polish translation 2020-10-11 06:00:02 +02:00
content Merge pull request #547 from freakboy3742/2024-q1-roadmap 2024-01-11 11:02:34 +08:00
databags Add rmartin16 to team 2022-09-30 13:50:21 -04:00
flowblocks Rename field and organize home content file 2017-07-24 23:16:54 -05:00
models Updated all links to twitter to the mastodon equivilent if one is available for all news and blog posts. 2023-04-06 06:22:19 -05:00
packages Apply workaround for lektor/lektor#1026. 2022-04-06 12:14:14 +08:00
templates Correct the Mastodon verification links for team members. 2023-04-14 08:38:52 +08:00
.firebaserc Migrate from Netlify to Firebase 2022-10-21 10:10:38 -07:00
.gitignore June 2023 typos 2023-06-30 10:04:48 -04:00
BeeWare.lektorproject Update lektor-rst to 0.3.0 2023-02-22 11:40:28 +11:00
CNAME The big rename; pybee->beeware. 2019-03-30 12:43:30 +08:00
CONTRIBUTING.md The big rename; pybee->beeware. 2019-03-30 12:43:30 +08:00
firebase.json Migrate from Netlify to Firebase 2022-10-21 10:10:38 -07:00
LICENSE Added license and updated README. 2016-07-03 17:54:40 +08:00
README.rst Changed back edited news articles for everything besides handles. 2023-04-07 18:51:25 -05:00
requirements.txt Bump werkzeug from 2.3.3 to 2.3.8 2023-11-14 01:13:59 +00:00
runtime.txt Add netlify build preview integration 2020-07-06 20:48:10 -05:00

.. image:: http://beeware.org/static/images/brutus-270.png
    :width: 72px
    :target: https://beeware.org

beeware.github.io
=================

This is the homepage for the `BeeWare project`_.

It is a `Lektor`_-based site.

If you want to contribute a modification, you can fork this repository and
submit a pull request. However, **do not fork the master branch** - fork the
`lektor branch`_ and make changes there instead.

.. _lektor branch: https://github.com/beeware/beeware.github.io/tree/lektor

If you want to test out a change before you submit it, create a virtual 
environment, and install `Lektor`_::

    $ python3 -m venv venv
    $ source venv/bin/activate
    (venv) $ python -m pip install lektor

Then from the root directory of the checkout, run::

    (venv) $ lektor server

.. _Lektor: https://getlektor.com

This will `start a webserver`_ that will autoreload whenever you make a change
to site content.

.. _start a webserver: http://127.0.0.1:5000

Community
---------

You can talk to the community through:

* `@beeware@fosstodon.org on Mastodon`_

* BeeWare Discord server: `Discord`_

* `Tickets on the beeware.github.io issue tracker`_

Contributing
------------

If you find problems with this website, `log them on GitHub`_. If you
want to contribute, please `fork the code`_ and `submit a pull request`_.

Before submitting a pull request, please make sure your forked branch is up
to date with the original branch. To do this:

- set your upstream remote::

    $ git remote add upstream https://github.com/beeware/beeware.github.io.git

- make sure you have the latest changes from upstream::

    $ git fetch upstream

- rebase your **lektor** branch to **upstream** before pushing to git and
  submitting a pull request::

    $ git rebase upstream/lektor


.. _BeeWare project: http://beeware.org
.. _@beeware@fosstodon.org on Mastodon: https://fosstodon.org/@beeware
.. _Discord: https://beeware.org/bee/chat/
.. _Tickets on the beeware.github.io issue tracker: https://github.com/beeware/beeware.github.io/issues
.. _log them on Github: https://github.com/beeware/beeware.github.io/issues
.. _fork the code: https://github.com/beeware/beeware.github.io/tree/lektor
.. _submit a pull request: https://github.com/beeware/beeware.github.io/pulls


Translating
-----------

Want to make BeeWare more accessible to non-English-speakers?  Help translate
the site!  Steps are as follows:

1. Add language specification to `BeeWare.lektorproject
   <https://github.com/beeware/beeware.github.io/blob/lektor/BeeWare.lektorproject>`_.

   Fill out the name of the language, its url prefix, and the locale. Make sure
   you use the correct `ISO 639-1
   <https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes>`_ locale code - for
   many countries, it's not the same as the national TLD. For example, the ISO
   639-1 Danish locale is 'da', but Denmark uses the '.dk' TLD.

2. Add an entry for your language to the `Atom configuration
   <https://github.com/beeware/beeware.github.io/blob/lektor/configs/atom.ini>`_.

3. Add your first translation, by translating the names for the menus at the
   top of each page. Edit `the menus translation file
   <https://github.com/beeware/beeware.github.io/blob/lektor/databags/menu.ini>`_,
   adding a block for your language.

4. Start adding translations for content pages on the site. Translated files
   are at the same directory level as the primary English files, but have a
   language suffix. For example, Arabic's locale is 'ar', so you would add
   `contents+ar.lr` wherever the original file name is `contents.lr`

A great place to start translating is the `contributing section
<https://beeware.org/contributing/>`_.