Commit Graph

61 Commits

Author SHA1 Message Date
Benjamin Bach
47a2582c54 Merge remote-tracking branch 'upstream/master' into no-bumpversion-package-lock.json 2022-08-20 00:41:03 +02:00
Benjamin Bach
8e65b61666 Adds wheel and a command to package bdist_wheel + sdist 2022-08-19 22:23:32 +02:00
Benjamin Bach
68aed9751a Merge branch 'master' of github.com:readthedocs/sphinx_rtd_theme into HEAD 2022-08-19 17:28:38 +02:00
Anthony Johnson
62e997658a Pin Jinja to pre-3.1 release 2022-08-17 12:06:19 -07:00
Anthony Johnson
1b4263eadf Update to next development release after 1.0.0
For now, we'll be a bugfix release at 1.0.1 but do anticipate we'll be
adding features this release and will get to 1.1.0.

Requires #1230
2021-09-09 12:42:01 -06:00
Anthony Johnson
1f0ba51ec4 Update docs and versions for 1.0.0 release
The RC hasn't raised many issues, so time to move forward with final
release. This will be followed by a PR for 1.1.0-dev1.
2021-09-09 12:35:36 -06:00
Anthony Johnson
e1b8d2f54c Bump for next potential release
This is just the release version for development purposes so far.

Requires #1204
2021-08-17 11:03:09 -06:00
Anthony Johnson
3f75a24924 Bump2version release 2021-08-16 11:30:03 -06:00
Ana Costa
ce74456d56 Merge branch 'master' into docutils0.17.1 2021-08-12 18:38:40 +01:00
Anthony Johnson
e4bcdd8c41 Bump to 1.0alpha1
I think we talked about this and never followed through on the next few
release, not sure though. After we release a new version, I think we should be updating
the repository version to something other than the most current release.

The effect would be that the version in the repository would be an
alpha/dev release, and so would be possible to differentiate easily
between 0.5.2 release on PyPI and 0.5.3alpha1 development release from Git.
Right now, we don't follow up with incrementing this version, and so
it's harder to tell the difference. This is mostly for our use in
development.

It adds a small bit of overhead, but is nice and explicit.

This PR updates the version in the repository to 1.0.0alpha1. If we had
adopted this workflow, the progression would have been:

* Release 0.5.2, open PR bumping to 0.5.2 (run `bump2version release` and open PR)
* Follow up 0.5.2 release by bumping to `0.5.3alpha1` (run `bump2version patch` and open PR)
* We add a new feature, bump to `0.6.0alpha1` (run `bump2version minor` and open PR)
* Oops, backwards incompatible change. We bump to `1.0.0alpha1` (run `bump2version major` and open PR)
* We're ready for an rc, bump to `1.0.0rc1` (run `bump2version release` and open PR)
* Maybe we cut another rc after some fixes
* We're ready for final release, bump to `1.0.0` (run `bump2version release` and open PR)
* Follow up the release PR by bumping to the next version (run `bump2version patch` and open PR)
2021-08-10 15:37:55 -06:00
Aaron Carlisle
e555f94ae1 Support all versions less than 0.18 2021-08-09 16:50:15 -04:00
Aaron Carlisle
34f81daaf5 Add support for docutils 0.17
This should'nt be a breaking change as backward compatibility is preserved so this change could go into 1.0 or wait until 1.1.

I know a lot of users are asking for this so it might be nice to include this in 1.0.

Fixes #1115
2021-08-06 15:07:41 -04:00
Juan Luis Cano Rodríguez
1421fb5e94 Use static setuptools metadata 2021-04-11 10:15:14 +02:00
Aaron Carlisle
60a094bb13 Merge branch 'master' into Blendify/python-compat 2021-04-08 17:19:58 -04:00
Santos Gallegos
9df65f15c5 Fix backport of requirements (#1118)
This was fixed before releasing 0.5.2,
but looks like the change was lost after merging it to master.
2021-04-06 18:06:31 -05:00
Eric Holscher
ca2719b32f Merge Release 0.5.2 Changelog into master (#1114)
* Setup: Require docutils<0.17'

Docutils 0.17 changes some rendering of properties, until support is added we should probably pin to use an older version.

I may not be a bad idea to keep a pinned version in the theme to prevent this issue in the future.

* Release 0.5.2

Include a changelog and bump versions

* Fix changelog

Co-authored-by: Aaron Carlisle <carlisle.b3d@gmail.com>
2021-04-05 13:14:49 -04:00
Aaron Carlisle
4d196ce134 Add python version requirements to setup.py
This is need in the future so we can gracefully remove python 2.7 support.
See #1075.
2021-03-17 18:29:02 -04:00
Aaron Carlisle
114fb85b44 Require Sphinx 1.6 deprecate html4 (#1091)
Sphinx 1.6 is required for de76c03824 we also do not test against versions lower than 1.6 so we should safely drop it.

This is similar to #1076 and #1075 but less strict
2021-03-15 18:05:20 -04:00
Santos Gallegos
f8e71bf312 Don't require npm to build from source (#1039) 2021-03-15 10:12:50 -05:00
Santos Gallegos
f6554bfcbf Release 0.5.1 (#1032) 2021-01-04 17:13:31 -05:00
Sylvestre Ledru
6c943265c1 Update the url to the "readthedocs" one
To avoid a redirect
2020-09-30 16:11:14 +02:00
Anthony Johnson
a452102fff Bump version 2020-06-17 09:55:10 -06:00
Anthony Johnson
8732ce06b5 Bump to next release, 0.5.0rc2 or greater 2020-05-06 16:14:39 -06:00
Anthony Johnson
729ac2f5b9 Release 0.5.0rc1
This is a release candidate for 0.5.0, which adds support for both HTML4
and HTML5 writers, which should support the default writer regardless of
your version of Sphinx.

Also included in this release are localization efforts and 10 language
translations.

You will need to specify the release manually to test, if there are no
major issues, we will have a 0.5.0 release shortly.

Closes #886
Closes #712
2020-05-06 15:22:02 -06:00
Anthony
bcb142a463 Merge branch 'master' into use-bumpversion 2020-05-06 15:06:10 -06:00
Anthony Johnson
b4769ec0ae Start off with 0.4.3alpha1
We use a 1-based indexing for dev part as `rc0` sounds funny. This was
also a test commit of the change.
2020-05-06 14:53:43 -06:00
Anthony Johnson
512ad422d1 Move bumpversion config and reconfigure
I moved the configuration to setup.cfg, with the rest of the tooling
configurations.

I had trouble getting the parsing to work for both the current pattern
that exists in this repository (`0.4.3.dev0`), and the pattern we use in
other repositories (`0.4.3alpha1` and `0.4.3rc1`).

The release pattern would potentially be:

* Version is `0.4.3alpha1`
* Bump to `0.5.0alpha1` or `0.5.0rc1` for testing release, `0.5.0` for
  full release
* Commit, tag, etc the new release
* Release to PyPI
* Bump to `0.5.1alpha1` and commit. This is the next development release
  that would be in `master` branch
2020-05-06 14:47:03 -06:00
Anthony Johnson
de63fe9526 Also, pull all translations 2020-05-06 13:33:07 -06:00
Anthony Johnson
7efb81803e Update transifex usage
This uses force mode to download po files, always. Normal operation is
to use the file modification date for comparison, which doesn't work
because of Git.

This also sets `onlyreviewed` mode, which will omit strings which are
not translated yet. This will result in the underlying source
translation being used in place, until the string is reviewed in
transifex.
2020-05-06 13:24:14 -06:00
Anthony Johnson
ebc87bc0a2 Address Sphinx 2 compatibility issues
The main change here is that we load information into the template so
that CSS can make decisions about what element hierarchy it can expect,
instead of covering both html4 and html5 writer with a single set of
rules. I also fixed the tox config so that it generates docs for
testing.

This is also in part going to revert the changes in #785. Instead of
maintaining a list of `dl` classes to apply the domain styles to, this
PR instead maintains a list of definition list classes to *not* apply
the domain definition list styling too. There are too many possibilities
to cover with an include list.
2020-05-05 14:16:28 -06:00
Álvaro Mondéjar
cbecb5906c Fix indentation consistence 2020-04-26 15:13:23 +02:00
Anthony Johnson
4549aaa56e Also update the files included in the package
Adds moved font files
2019-10-15 16:31:22 -06:00
David Fischer
d4466432ea Small fixes to setup.py
Ensure `setup.py build` and `setup.py test`
work on a clean repo
2019-10-08 15:26:20 -07:00
Jesse Tan
085eb32179 Use bump2version for version number management 2019-10-03 12:09:36 +02:00
Anthony
9fee2a2585 Update setup.py
Co-Authored-By: Jesse Tan <jessetan@users.noreply.github.com>
2019-08-22 12:33:15 -06:00
Anthony
04f5c9281c Update setup.py
Co-Authored-By: Jesse Tan <jessetan@users.noreply.github.com>
2019-08-22 12:33:05 -06:00
Anthony Johnson
28ca8458a3 Old classes are The Worst 2019-07-29 11:29:49 -06:00
Anthony Johnson
00cc82c2f2 Not an object class anyways, drop super 2019-07-29 11:10:31 -06:00
Anthony Johnson
af521d644d Make super() py2/3 compat 2019-07-29 11:04:41 -06:00
Anthony Johnson
4672249962 Fix webpack command to run in CI 2019-07-29 10:56:44 -06:00
Anthony Johnson
e2a173d393 Add webpack commands into setup.py
This is a POC that shows building webpack through standard `setup.py`
commands. Any call to `setup.py build` or `bdist` or `sdist` will
trigger a Webpack build of the assets first. A non-zero exit code will
halt the process.

Also, moved the `npm run dev` command, which here is `python setup.py
watch`, though there is perhaps something better here. There is already
`python setup.py develop`, which has a separate function, so I don't
want to collide there.

Example output here:
https://gist.github.com/agjohnson/cdaab364fe598daa7f3bef750cfb84dd

Refs #797
2019-07-26 17:14:36 -06:00
Anthony Johnson
472b3aee21 Final doc updates and fix tests 2019-07-25 14:08:56 -06:00
Anthony Johnson
5052143f79 Undoing test fixes 2019-07-24 23:42:25 -06:00
Anthony Johnson
0e0ccffe18 Replace with requirements file, RTD doesn't handle these patterns well. 2019-07-24 23:36:13 -06:00
Anthony Johnson
715c0beacb Add commands into setup.py and regenerate translations
More fixes for docs
2019-07-24 18:39:35 -06:00
Anthony Johnson
d216dcf54d Fix local path insertion of package, fix more docs
Add back git installation docs, we'll discuss this separately.
2019-07-19 15:29:24 -06:00
Anthony Johnson
69c1e095f6 Update po file comments, tune installation requirements, alter i18n scripts 2019-07-19 12:46:11 -06:00
Leon Barrett
ecbc09f22a Setup.py references fonts dir plural (#721)
The fonts are in `static/fonts`, but setup.py has been installing
`static/font`. That didn't seem to work for me. This changes setup.py to
match the actual directory.
2019-02-13 14:54:51 -05:00
Jesse Tan
b82993dfdb Add Sphinx as a dependency (#652) 2018-06-18 22:16:44 -04:00
Aaron Carlisle
3eebd9a2e7 Replace the name 'Dave Snider' with RTD (#572)
* Replace the name 'Dave Snider' with RTD

* Address review

* Give credit back to Dave + RTD
2018-03-19 07:56:34 -04:00