Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

This question already has an answer here:

We are a group of 5 developers(scientists end engineers) that write code in C++. What we would like to do is to make all the code available to all the developers easily. The first step in this process was to set up a SVN server, and it worked fine.

Now we are facing another need: we would like to have a system were all the base classes, mathematical libraries, algorithms are public and accessible to every developer. Something like a Wiki, or like the root documentation http://root.cern.ch/root/html/TH1.html. A sort of site where you can upload code, you can describe it and you can point out how to use it.

Do you have any suggestion?

share|improve this question

marked as duplicate by gnat, Bart van Ingen Schenau, ChrisF Jan 28 at 12:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
sorry but it is not the same question. I am looking for a sort of online database, while what they suggest in the other question is: don't do it, copy and paste, and write some libraries –  BiA Jan 20 at 10:12
1  
your question is a bit confusing. Do you want to provide access to the documentation or to the code itself? –  Simon Jan 20 at 10:14
    
Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. –  gnat Jan 20 at 10:14
    
@simon if you look at the link i posted you will see that there are both –  BiA Jan 20 at 10:15
    
@gnat i was looking also for keywords to search on google –  BiA Jan 20 at 10:16
show 2 more comments

1 Answer 1

As far as I understand from the comments, you are looking for Doxygen

It will allow to document your code in your source files and generate (e.g.) HTML documentation from it. You can configure it to include the source code in the documentation. However, as pointed out by @Simon, this is still for documentation purposes, not to copy the code from there. But since you already have a common repository, I assume that developers will take the source code from there anyway.

See here for some output examples: http://www.stack.nl/~dimitri/doxygen/results.html

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.