Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 246551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:10:55+00:00 2026-05-11T21:10:55+00:00

I am working on a small toy project who is getting more and more

  • 0

I am working on a small toy project who is getting more and more releases. Until now, the documentation was just a set of pages in the wordpress blog I setup for the project. However, as time passes, new releases are out and I should update the online documentation to match the most recent release.

Unfortunately, if I do so, the docs for the previous releases will “disappear” as my doc pages are updated to the most recent version, therefore I decided to include the documentation in the release package and to keep the most recent documentation available online as a web page as well.

A trivial idea would be to wget the current docs from the wordpress pages, save them into the svn and therefore into the release package, repeating the procedure at every new release. Unfortunately, the HTML I get must be hacked by hand to fix the links (or I should hack wordpress to use BASE so that the HTML code is easily relocatable, something I don’t want to do).

How should I handle the requirements of having at the same time:

  1. user-browsable documentation for the proper version included in the downloadable package
  2. most recent documentation available online (and properly styled with my web theme)
  3. keep synchronized between the svn and the actual online contents (in wordpress, or something else that fits nicely with my wordpress setup)
  4. easy to use

Thanks

Edit: started a bounty to see if I can lure more answers. I think this is a quite important issue, and it would be nice to have multiple hints and opinions for future readers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:10:56+00:00Added an answer on May 11, 2026 at 9:10 pm

    I think there are two problems to be solved here

    1. how and where to keep the documentation aligned with the code
    2. where to publish the documentation

    For 1 i think it’s best to:

    • keep the documentation in a repository (SVN or git or whatever you already use for the code) as a set of files, instead of in a db as it is easier to keep a history of changes (an possibly to stay in par with the code releases
    • use an approach where the documentation is generated from a set of source files (you’d keep the sources in the repository) from which the html files for the distribution package or for publishing on the web are generated. The two could possibly differ, as on the web you’d need to keep some version information (in the URL) that you don’t need when packaging a single release.

    To do “2” there are several tools that may generate a static site. One of them is Jekyll it’s in ruby and looks quite complete and customizable.

    Assuming that you use a tool like jekyll and keep the files and source in SVN you might setup your repo in this way:

    repo/
       tags/
          rel1.0/
             source/
             documentation/
          rel2.0/
             source/
             documentation/
          rel3.0/
             source/
             documentation/
       trunk/
          source/
          documentation/
    

    That is:

    • You keep the current documentation beside the source in the trunk
    • When you do a release you create a tag for the release
    • you configure your documentation generator to generate documentation for each of the repo/tags//documentation directory such that the documentation for each release is put in documentation_site/ directory

    So to publish the documentation (point 2 above):

    • you copy on the server the contents of the documentation_site directory, putting it in the same base dir of your wordpress install or linking from that, such that each release doc can be accessed as: http://yoursite/project/docs/relXX/
    • you create a link to the current release documentation such that it can always be reached as http://yoursite/project/docs/current

    The trick here is to publish the documentation always under a proper release identifier (in the URL, on the filesystem) and use a link (or a redirect) to make sure that the “current documentation” on the web server points to the current release.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Right now I'm working on small project, submitting very simple jobs and I'm working
I am working on small python payroll project where you enter employee name, wage,
I'm working on a small uni project where I have a program for a
I'm working on small open source project for developed Windows. I created new project
I'm trying to set up a small working sample of Hibernate that I found
Im working on a small graphics engine project that and I want to it
I am working on small php application using codeigniter I did just copy paste
I'am working on small ASP.NET MVC project and I got an weird behaviour. At
Im working on a small project which has a textarea and i need help
I'm working a small project, using AES encryption and wanted to use it in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.