profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/shanavas786/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Shanavas M shanavas786 Techversant Ernakulam shanavas.org

remacs/remacs 4482

Rust :heart: Emacs

LeoIannacone/npm2deb 36

tool to help debianize Node.js modules

shanavas786/kalavara 9

Distributed persistent key value store

shanavas786/anaconda-mode 0

Code navigation, documentation lookup and completion for Python.

shanavas786/Android-Password-Store 0

Android application compatible with ZX2C4's Pass command line application

shanavas786/beats 0

:tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash

shanavas786/care 0

Care is a single point to link Hospitals,Corona Care Centers and Volunteers to the unified Corona Safe Network so that the Kerala Chief Ministers Office has direct access to live reports of health data v/s our total. healthcare capacity

shanavas786/celery 0

Distributed Task Queue (development branch)

shanavas786/CodeIgniter 0

Open Source PHP Framework (originally from EllisLab)

shanavas786/coding-fu 0

coding-fu

issue commentpython/peps

Create ePub versions of PEPs

Gotten an initial implementation working, although unstyled (I don't know if ePubs are expected to be styled?) and with one error (literal/code blocks overlapping with body text). xref #1995, 387b19b...37d9975

I am not sure if read the docs would be able to handle this out of the box, as I've customised Sphinx significantly for PEP purposes, disabling the native index, search, javascript, permalinking, etc. As of this, a lot of the stuff Sphinx expects for just changing the builder name to work doesn't exist (e.g. I had to turn off the custom templates I've done for the HTML variant as they with epub).

Just my two pennies' worth, but it may turn out that ePub support is as complicated as the custom HTML - adding a lot of potential maintenence burden for a historically low change infrastructure piece? I will continue to work on it but wanted to (constructively!) raise the challenge now as I think about it.

A

AA-Turner

comment created time in 21 minutes

PR opened python/peps

Sphinx - epub

A stab at ePub support (xref #1994).

Previewing on a desktop app (adobe digital editions) everything looks fine apart from code blocks (e.g. page 66), so will have a look at overriding the CSS.

Test: make sphinx-epub and look at build/PEPs.epub. This is the one massive file for all PEPs approach, which is the default from the Sphinx ePub 3 writer -- if a per-PEP solution were wanted, I imagine this may be tricker.

cc: @froi, @Mariatta

+25 -0

0 comment

3 changed files

pr created time in 41 minutes

issue commentpython/peps

Create ePub versions of PEPs

As a design decision, would 1 massive epub file (~5,500 pages), or individual files per PEP be preferred?

@froi would be interested in your views as an epub user?

A

AA-Turner

comment created time in 2 hours

issue commentpython/peps

Build PEPs using Sphinx

The intention with using pages was so previews on forks (to <user>.github.io/peps) worked out of the box - although I admit I haven't written that part of the GHA script yet. This was originally discussed in #25 I think.

A

brettcannon

comment created time in 2 hours

issue commentpython/peps

Build PEPs using Sphinx

Not sure who gets to decide on this, but I'd like for us to create a readthedocs project so we can preview @AA-Turner's PRs in ReadTheDocs. What do folks think?

brettcannon

comment created time in 3 hours

issue commentpython/peps

Create ePub versions of PEPs

Thanks. ReadTheDocs can also handle the ePub generation. It is a built-in feature on their side: https://docs.readthedocs.io/en/stable/downloadable-documentation.html

AA-Turner

comment created time in 3 hours

issue commentpython/peps

Create ePub versions of PEPs

Resources (no idea how useful, for future me):

https://www.sphinx-doc.org/en/master/faq.html#epub-info https://www.sphinx-doc.org/en/master/usage/builders/index.html#sphinx.builders.epub3.Epub3Builder

AA-Turner

comment created time in 3 hours

issue openedpython/peps

Create ePub versions of PEPs

cc: @Mariatta @froi

I know that we can generate ePub using Sphinx. Is that something we can get if we're going with GitHub pages?

Originally posted by @Mariatta in https://github.com/python/peps/pull/1933#issuecomment-864294524

created time in 3 hours

pull request commentpython/peps

Sphinx - theming

Hi Mariatta,

Thanks for the feedback :)

Will have a look at ePubs, although I don't have a kindle so I don't think I can preview? (after writing this I'll probably find an epub app for my phone within 30 seconds!)

Could I suggest though that it's tackled in a separate PR? Currently I'm focussed on trying to replicate what we currently have - but appreciate moving to Sphinx opens more avenues, which is partly the point I guess! I will open an issue to track ePub generation.

A

AA-Turner

comment created time in 3 hours

pull request commentpython/peps

Sphinx - theming

Just wanted to mention that I took a quick look at https://aa-turner.github.io/peps/ and it looks pretty cool.

I know that we can generate ePub using Sphinx. Is that something we can get if we're going with GitHub pages? I know that it is something we can get easily if hosting it in readthedocs.

cc @froi who was wondering about ePub version of the PEPs.

AA-Turner

comment created time in 3 hours

pull request commentpython/peps

Sphinx - theming

@pablogsal - rebased on master, I summarised changes above but can provide more detail if you'd like on anything :)

Do you know who best to contact to get GH pages enabled on this repo, incidentally?

A

AA-Turner

comment created time in 3 hours

issue openedrust-unofficial/awesome-rust

Fix auto-approval

https://github.com/mheap/automatic-approve-action should in theory auto-approve builds from new maintainers that don't change the workflow. However, there's an issue with the Github API and some repos (including this one). https://github.com/mheap/automatic-approve-action/issues/9 describes the issue, and @cschleiden is apparently looking into the issue.

created time in 6 hours

pull request commentrust-unofficial/awesome-rust

Fixes errors with pdbtbx and prost

@luciusmagn After this gets merged we should hopefully be able to enable the "Rust build must be green to merge" and "branch must be up-to-date with master" (the latter needs the former) in Settings (see https://github.com/rust-unofficial/awesome-rust/settings/branch_protection_rules/15609230) and stop the issues from #1096 happening again as the errors were unrelated, but if master had been merged it would have had some related errors!

palfrey

comment created time in 6 hours

fork jonhoo/anyhow

Flexible concrete Error type built on std::error::Error

fork in 8 hours

PR opened rust-unofficial/awesome-rust

Fixes errors with pdbtbx and prost

Fixes the issues from #1096 as well as prost rename.

+2 -2

0 comment

1 changed file

pr created time in 8 hours

Pull request review commentpython/peps

Support code highlighting

 jobs:       - name: Install dependencies         run: |           python -m pip install -U pip-          python -m pip install -U docutils+          python -m pip install -U docutils pygments

Perhaps we should create requirements.txt and pin the versions ofdocutils and pygments.

ofek

comment created time in 8 hours

startedPeARSearch/PeARS-fruit-fly

started time in 11 hours

push eventpython/peps

Mariatta

commit sha 9cd56d4a2f4de4c70221c41742e7de32c7f0b6e5

Deploying to gh-pages from @ python/peps@82cd151074718e9558c8fafe79cf5c5cfb403108 🚀

view details

push time in a day

pull request commentpython/peps

PEP 517: Fix odd url markup

Thanks for the reviews.

Mariatta

comment created time in a day

push eventpython/peps

Mariatta Wijaya

commit sha 82cd151074718e9558c8fafe79cf5c5cfb403108

PEP 517: Fix odd url markup (#1992)

view details

push time in a day

delete branch python/peps

delete branch : Mariatta-patch-2

delete time in a day

PR merged python/peps

PEP 517: Fix odd url markup CLA signed

It currently looks kinda odd.

Screen Shot 2021-06-17 at 11 32 29 AM

Though I'm not sure of the original intention. Which part does the author want to be linked?

+1 -1

2 comments

1 changed file

Mariatta

pr closed time in a day

pull request commentpython/peps

PEP 517: Fix odd url markup

Built locally after removing the space between the s and the first grave accent and can confirm it renders as I hypothesised above.

Mariatta

comment created time in a day

push eventpython/peps

pablogsal

commit sha 7996432de52d0949bbc89003a359ff925ff6d9df

Deploying to gh-pages from @ python/peps@d7af40783306fad7bd9d64d9ebd054b1435d0dc5 🚀

view details

push time in a day

pull request commentpython/peps

PEP 517: Fix odd url markup

Would this also be fixed by removing the space between the s and the first grave accent? That would make a grad student's render in italic and then $PYTHONSTARTUP render as code.

With your current change I think the grave accent on line 868 should also be removed (before a), as else you have an unclosed start of an italic passage.

Mariatta

comment created time in a day

push eventpython/peps

Pablo Galindo

commit sha d7af40783306fad7bd9d64d9ebd054b1435d0dc5

PEP 619: Add date for Python 3.10.0b3

view details

push time in a day

pull request commentpython/peps

PEP 582: Add Discussions To

Ok, it looks like it has to be right after Authors.

Mariatta

comment created time in a day

push eventpython/peps

Mariatta Wijaya

commit sha e8769e15ff5c7ca16f4f28342ccc27de53cae3cb

Remove blank line

view details

push time in a day

push eventpython/peps

Mariatta Wijaya

commit sha e9738096f13066a53635e70c93603396c157d2f0

Discussions-to to be after Authors

view details

push time in a day

pull request commentpython/peps

PEP 582: Add Discussions To

Hmm, I'm not sure what's the issue.. Looking at the template at PEP 12, It shows "discussions-to" to be before Created and before Type

Mariatta

comment created time in a day