Giter Club home page Giter Club logo

Comments (3)

fhemberger avatar fhemberger commented on May 18, 2024

At the moment I don't have any topics for the website to work on.

But it would really be super-super-awesome to have a script converting the old legacy documentation into something similar to the new docs. At the moment, the old documentation is simply a complete mirror of the entire website at that point in time, so we have to maintain assets and redirects. A good start would be to have the docs for latest-v0.10.x and latest-v0.12.x.

  • Get content from #content-wrap with cheerio
  • Put it in the new template:
<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Node.js v##version## Manual &amp; Documentation</title>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic">
    <link rel="stylesheet" href="assets/style.css">
    <link rel="stylesheet" href="assets/sh.css">
    <link rel="canonical" href="https://nodejs.org/api/##generated##.html">
</head>
<body class="alt apidoc" id="api-section-##generated##">

    ##content##
    <div id="footer">
    </div>

    <script src="assets/sh_main.js"></script>
    <script src="assets/sh_javascript.min.js"></script>
    <script>highlight(undefined, undefined, 'pre');</script>
</body>
</html>
  • Replace content of #column2 on all pages with index.html#apicontent

@mikeal @rvagg @nodejs/website What do you think about this?

from code-and-learn.

mikeal avatar mikeal commented on May 18, 2024

also the new knowledge base needs a ton of work before it is linked to on the main page.

from code-and-learn.

iancrowther avatar iancrowther commented on May 18, 2024

ok ill have a think about this over the weekend

from code-and-learn.

Related Issues (20)

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.