Giter Site home page Giter Site logo

suyanhanx / comdev-site Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/comdev-site

0.0 0.0 0.0 2.96 MB

Website sources for the Apache Community Development Website

Home Page: https://community.apache.org

License: Apache License 2.0

JavaScript 16.30% CSS 7.96% HTML 75.74%

comdev-site's Introduction

Apache Community Development website

This is the source code for the ASF Community Development PMC website, hosted at community.apache.org

To get in touch with that PMC please use the [email protected] mailing list.

The events.apache.org website is also managed by the Community Development PMC but managed in the comdev-events-site repository.

Automated website publishing and staging

Changes to the main or preview/* branches of this repository trigger the comdev-site Jenkins Job, which generates and pushes the website content.

There's currently (April 2020) a lag of about ten minutes for the corresponding Jenkins job to start, if you commit directly to the GitHub repository, but you can also start the job manually if you have the required Jenkins access rights.

For the main branch, the generated content is pushed to the asf-site branch, and the ASF's gitpubsub mechanism then synchronizes that content to the live community.apache.org website, usually within a few seconds.

Branches named preview/<name> are staged automatically, a branch named preview/0421b for example is staged at https://community-0421b.staged.apache.org/ .

More details about the publication process can be found in the ASF Documentation about Project sites. If for some reason this process fails, you can use the self-service page from ASF Infra to trigger a resync of the git repo.

Powered by Hugo!

The website uses Hugo as static website generator, see the Hugo website for more information and for how to install and run it if needed.

Other Apache websites that are built with Hugo should be listed by this GitHub query for the 'hugo' tag.

How to test the website and changes on your own computer

You need a recent version of hugo, to find out which one is used to deploy this site look at the Jenkins build output, linked above.

To generate the static website, execute hugo to generate the website under target/content and execute npx -y pagefind --site target/content to index the content for Pagefind (the search bar on the website).

During development, it may be useful to run an incremental build. For this to work, execute hugo server -D -d /tmp/comdev-generated-site to continuously (re)generate and serve the website on localhost:1313 (-D means include draft pages). In another terminal, execute npx -y pagefind --site /tmp/comdev-generated-site to index the site content for Pagefind (the search bar on the website).

comdev-site's People

Contributors

rbowen avatar bdelacretaz avatar sorratheorc avatar rlenferink avatar sebbasf avatar shanecurcuru avatar cottage14 avatar solomax avatar gagravarr avatar ustaerk avatar lresende avatar clr-apache avatar chrisdutz avatar markt-asf avatar smarru avatar hboutemy avatar mjfoulks avatar swapnilmmane avatar papajdo avatar openpj avatar priyasharma1 avatar priyasharma01 avatar rvs avatar abdur-rahmaanj avatar stain avatar tisonkun avatar willemjiang avatar rvesse avatar glauesppen avatar ctubbsii 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.