GithubHelp home page GithubHelp logo

pantheontech / stonework Goto Github PK

View Code? Open in Web Editor NEW
35.0 8.0 16.0 1.32 MB

StoneWork - high-performance data plane, modular control plane solution.

Home Page: https://cdnf.io/cnf_list/stonework

License: Apache License 2.0

Makefile 1.45% Go 65.51% Dockerfile 2.34% Shell 3.61% TeX 0.01% Python 7.91% CMake 0.73% C 18.44%
cloud-native control-plane data-plane network-automation vpp dpdk ligato router switch

stonework's People

Contributors

dependabot[bot] avatar fgschwan avatar giluerre avatar mhalaj1 avatar mmiklus avatar ondrej-fabry avatar pantheonvladimirb avatar pemoticak avatar pt-maros avatar samuel-dudik 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stonework's Issues

Omit publishing latest/release tags on pre-releases

The release process currently tags and then publishes images for tags as following:

=> new tag v21.06.0 is pushed and release process starts:

  1. image is built with tag :21.06.0 for this specific tag
  2. then rolling release image is tagged :21.06
  3. and finally the :latest tag is updated to this release

This process is okay for the actual releases, but it should be fixed to skip step 2 and 3 for pre-releases: e.g. v21.06.1-rc1, or simply any version with suffix -*. This is because we do not want to update rolling release image or latest image tags for these pre-releases.

Broken internal links in STONEWORK-CONFIG.pdf

The internal links in the PDF generated from docs/config/STONEWORK-CONFIG.md are broken. The .md file uses <a name=""/> HTML tags for internal links which are supported by Github markdown viewer, but not by pandocs (program used to generate PDFs) default PDF engine pdflatex. Implicit internal links (https://pandoc.org/MANUAL.html#internal-links) can't be used because resulting headers would be too long + add unnecessary noise and header attributes (https://pandoc.org/MANUAL.html#extension-header_attributes) don't seem to be supported by Github markdown.

Currently, the solution is to use a PDF engine that can interpret HTML tags e.g. weasyprint:

pandoc STONEWORK-CONFIG.md -o STONEWORK-CONFIG.pdf --pdf-engine=weasyprint -c style.css

style.css for proper table rendering:

body {
        font-size: 12px;
}

a {
        text-decoration: none;
}

table, th, td {
        border: 1px solid;
        border-collapse: collapse;
}

th, td {
        padding: 3px;
}

The problem is that weasyprint and the pandoc version supporting it aren't included in the Ubuntu 18.04 repositories. 18.04 is currently used for the Docker image responsible for STONEWORK-CONFIG.pdf generation. 20.04 does include all required packages by default. On 18.04 direct download and installation of pandoc and weasyprint binaries is required.

Further information and reference: #12

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.