Code Monkey home page Code Monkey logo

bufferbloat-net's Introduction

Bufferbloat.net web site source

This repo contains the source files for the bufferbloat.net web site (https://www.bufferbloat.net). The site is built using the Hugo static site generator (https://gohugo.io) and most of the content is automatically converted from the old bufferbloat.net redmine installation.

Contributions to improve the content are very welcome. See below for some pointers on how the content is organised and how to contribute.

Organisation of this repository

The content shown on the site is all in the content directory. Each subdirectory is a project, which in turn has subdirectories corresponding to the different types of content. Currently, these are wiki for Wiki pages, news for news items and issues for the exported bug reports from the old site. The latter is mainly kept for archival purposes, and is probably not worth editing.

The scripts used to convert the content from the old site live in the export directory, which also contains the csv files with the data. Hopefully, there shouldn't be a need to run these anymore. The old-projects directory contains exported data for projects that it was not deemed relevant to move over to the new site. This data is here for archival purposes and is not used when generating the site.

Finally, the static directory contains resources such as images and CSS files used for the site layout, and the layouts directory contains the templates Hugo uses to build the site. For more information on how the latter works, consult the documentation at https://gohugo.io.

Contributing to the Site

To contribute to the site, simply clone the repository, make your changes to the markdown file corresponding to the page you wish to edit, commit the results and open a pull request against this repository. It is also possible to file issues to point out errors or omissions, or give suggestions for the content.

The site is build using the Hugo static site generator. Version 0.16 (not higher!) is required to build the site.

Live Editing

When making changes, you can see a local version of the site by installing Hugo and running hugo serve in this directory. That will run a web server on localhost, which you can navigate to and see a live version of the site.

Creating a new News Item

You can use the hugo binary to create a new news item with appropriate front matter (the stuff in the top that tells Hugo that this is a news item). First, decide which project the news item should belong to, then issue a command like

hugo new -k news bloat/news/2016-06-12-my-news-heading.md

to create the new file (the -k news tells Hugo to create a news item).

The new item will be marked as a draft and appear in the content/bloat/news directory. You can then edit the file (don't forget to the title and add your name as author). While you are editing, you can run hugo -D serve to see the changes in real-time (the -D means 'show drafts'). When you are done you can either manually change the draft status at the top of the file, or you can use the hugo undraft command to do it for you. Then add the file to git and submit a pull request to have your news item included on the site.

bufferbloat-net's People

Contributors

artoria2e5 avatar dekker500 avatar dtaht avatar flupsy avatar heistp avatar hexchain avatar idealisms avatar ivanbaldo avatar moeller0 avatar qrbaker avatar richb-hanover avatar simoniremonger avatar tmmorin avatar tohojo avatar

Stargazers

 avatar

Watchers

 avatar  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.