Giter Club home page Giter Club logo

pep-connections's Issues

Link authors and BDFL delegates

Connecting each PEP to its author(s) and BDFL delegate can help understand who has been responsible for many PEPs and specific PEP topics/areas.

Outcome

  • Each person who is either an author or a BDFL delegate has their own file containing their name as a level one heading
  • Each output PEP file has a section with a list of the authors and BDFL delegate, where each mentioned person is linked to the respective person file

Parse names better

Right now, name parsing assumes commas as strictly a name delimiter. However, there is at least one case where a , Jr. throws this off, resulting in a note for just Jr. on its own.

Include tags for PEP types

Some PEPs are meant to propose standards, but others are simply informational. Tagging each PEP in the output with its type will help differentiate them.

Outcome

  • Each output PEP has one type--<type-of-pep> tag indicating the PEP's type

Add PEP content to output files

Each output file currently has just the tags, title, and connection to other mentioned PEPs. This is easy enough to do, but doesn't let people understand what each PEP is in context as they browse it in Obsidian.

Outcome

  • Each PEP has the full PEP body in the output Markdown, transformed appropriately as noted below.

Notes

The reStructuredText can't just be shoved into the Markdown file, because the syntax will conflict. Some things should probably be transformed as well because they don't have an easy parallel. An example is the :pep: reference syntax—that could be converted to links (and possibly remove some of the need for the current Mentions section in the process)

Some of the metadata in the front matter might be able to be kept. Obsidian supports front matter in Markdown and treats it separately and specially from the document. Some is redundant with existing tags.

Use reStructuredText parsing to properly parse file contents

reStructuredText is a formal grammar and it would be nice to use that rather than parsing files as plain text. This might improve the capabilities for #3 and would probably simplify and make more extensible the metadata field parsing.

Outcome

  • connect.py code uses a package for parsing reStructuredText and generates output from the structured parsed data

Clean Markdown

Find a way to clean the resulting Markdown after conversion from reStructuredText, because it can result in things that look like note references that actually aren't.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.