Giter Club home page Giter Club logo

hpyproject.org's Introduction

hpyproject.org webpages

This is the source repository for the hpyproject.org webpages.

Working with the repo to generate new content

The webpages are generated using the static site generator nikola (https://getnikola.com/) and is driven with a Makefile. To create a new post, first create a virtualenv with make venv_nikola/bin/nikola, then ./venv_nikola/bin/nikola new_post.

!! The content of public (with all helper directories, like js, css, ...) is not written by hand, please do not modify - it will be overwritten !!

After you make changes, you can do make build to regenerate the pages in public/ for local viewing, but do not commit these, they will be rebuilt and commited via a CI deploy step. You can also do make auto to start a server that will serve the pages, and rebuild them when any changes are made to the sources.

PRs previews will be generated with Netlify. After pushing a PR, a CI run will have a "Deploy preview ready!" run, clicking on the "details" link will show the newly-rendered site preview.

Comments

Comments to blog posts are generated via the utterances javascript plugin. The comments appear as issues in the repo. When viewing the site, a query is made to fetch the comments to the issue with that name. To comment, users must authorize the utterances app to post on their behalf using the GitHub OAuth flow. Alternatively, users can comment on the GitHub issue directly.

Build requirements

Python 3.10 is required to build the web pages.

Deployment

Any changes to the main branch (including merging PRs) regenerates and pushes to the gh-pages branch, which is a copy of the public directory.

hpyproject.org's People

Contributors

antocuni avatar cfbolz avatar coolreader18 avatar darakian avatar davidmalcolm avatar erlend-aasland avatar fangerer avatar hodgestar avatar jezdez avatar mattip avatar novialriptide avatar ofek avatar paugier avatar squeaky-pl avatar timfel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hpyproject.org's Issues

Website search field is malfunctioning

Currently, the search field gives a 404. After a quick look, it seems to try to load a search.html page, which does not exists (AFAICS). I don't know much about the Nikola site-builder, but it seems to me the easiest/fastest solution to get search up and running, is to enable Google or DuckDuckGo search.

Upgrade to Nikola 8.3.0

Nikola 8.2.2 depends on Yapsy which is incompatible with newer versions of Python. This has been fixed in Nikola 8.3.0. Suggesting to upgrade from Nikola 8.2.2 to Nikola 8.3.0.

Enhancements to the front page

How's this looking so far?

image

Few Suggestions

Remove the header "HPy - A better C API for Python" and turn it into a "hero" section to something similar to this: "The React Framework for the Web"

image

Move "What is HPy" contents to the hero section and just have "HPy provides a new API for extending Python in C. In other words, you use #include <hpy.h> instead of #include <Python.h>."

Convert the features section into something like this (https://rutgersesports.club):

image

Green link color hides links

While I was researching HPy in order to write about the presentation at the 2021 Python Language Summit, I had some difficulty with your link color:

Hpy

If the target page of a link has been visited, then it is a shade of green that is too similar to black for me to see that there is a link at all. At first, I thought that the link to the blog just hadn't been added yet because there was no black text next to the green link for me to see the contrast.

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.