Giter Club home page Giter Club logo

Comments (3)

pdurbin avatar pdurbin commented on September 22, 2024

I just pushed e2f5e5f and we now have the "en" and "main" components of the URL I wanted.

That is, if you go to the root of the website, you will be redirected to en/main/index.html

"en" is hard-coded for now. Again, we can spend some time with sphinx-intl if we get people to translate our docs.

Currently I have only the "main" branch being build and displayed in the sidebar...

Screen Shot 2021-05-10 at 3 10 28 PM

... but we can loosen the regex I added to include other branches if we want.

Once we start pushing tags, they should appear automatically but we can add a regex to exclude any tags we don't want.

from docs.smartnoise.org.

pdurbin avatar pdurbin commented on September 22, 2024

@raprasad and I talked some more about "main" vs "latest" today and we much prefer "latest". The way I know how to fix this is to rename the branch from "main" to "latest".

For some more background, "latest" is what Read The Docs uses. It means the latest code in your development branch (master or main or whatever). See https://docs.readthedocs.io/en/stable/versions.html . So that's what we're going to try to simulate.

from docs.smartnoise.org.

pdurbin avatar pdurbin commented on September 22, 2024

In 6406a8a I made the necessary changes in git. Then I changed the default branch for this repo to from "main" to "latest". @raprasad @lurosenb and others who have been hacking on docs, it might be easiest to simply re-clone. Please let me know if you see anything amiss.

The bottom line is that https://docs.opendp.org should now redirect to https://docs.opendp.org/en/latest/index.html

I think it looks much better. 😄

from docs.smartnoise.org.

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.