     makeRelativeUri: (uri) ->
         return uri if not @uri
         makeUriRelativeTo makeUriRelativeTo(uri, @rootDir), path.dirname(@uri)
-    
+
     # Watches all the associated files for changes
     #
     # callback : A function that will be called whenever a files changes

        @rootDir = options.rootDir ? '.'
        @links = options.links ? []
        @options = _.extend({}, options)
        
    # Public: Adds files
    # The table of content will be rebuild
    #

# filename : Extracts only the name (without the extension) of a file
extractNameFromUri = (filename) ->
    path.basename(filename, path.extname(filename))

# Makes the uri relative to another one
#
# uri        : A string representing an URI
