Giter Site home page Giter Site logo

cpanorg's Introduction

CPAN.org content repository

This repository is for maintaining the non-source-code, non-archive content on cpan.org. Discussion related to this should be on the cpan-workers mailing list.

Rules for editing content:

  • Don't add new output files. Only files already on cpan.org should be added (and then to their current location). Generally email [email protected] to get new files included here. Making new templates/scripts/etc to produce the output files is fine.

  • Be conservative in your edits. While lots of updates are needed, this has been around for 20 years and will be for many more. There's no rush.

  • No style edits for now. Cleanups yes; but a new design/layout will wait.

How to submit changes

A 'pull request' on github is the best way. Sending a patch to the cpan-workers list at the same time will be a good way to get peer review. A change with a few "+1" votes from the list are more likely to be expediently pulled in.

How it works

Install Template Toolkit and the other requirements with cpanm by running make install.

To fetch the data needed for the site, run make update-data update-daily.

Then run make. This will in turn run ttree and generate output files in the html/ directory.

Image files are copied plainly to the html/ directory.

Everything else is processed through template toolkit. Only .html files get the "master template" applied automatically.

Run under docker

Experimental, you can build the content from theses templates with:

mkdir -p root/tmp root/CPAN
docker run --rm -ti \
  -v `pwd`:/cpan/content -v `pwd`/root:/cpan \
  -w /cpan/content \
  quay.io/perl/cpanorg:master \
    make build update-data update-master

cpanorg's People

Contributors

abh avatar abraxxa avatar aixwiz avatar atomicstack avatar bradoaks avatar briandfoy avatar chazmcgarvey avatar clintongormley avatar dolmen avatar drhyde avatar eserte avatar grinnz avatar ilmari avatar kyzn avatar mbeijen avatar mstratman avatar ranguard avatar rjbs avatar rspier avatar sciencebeta avatar thibaultduponchelle avatar tonycoz avatar

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.