Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
removed menelaus doc_root
It was used to serve local copy of menelaus docs, but we've switched
to membase wiki as documentation place.

Change-Id: I0d7f4722e076098ffc4739d0515ac2864b51e348
Reviewed-on: http://review.membase.org/5256
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  • Loading branch information
Aliaksey Kandratsenka authored and alk committed Apr 7, 2011
1 parent 0bb9223 commit b9c28fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions deps/menelaus/src/menelaus_deps.erl
Expand Up @@ -23,7 +23,6 @@
-export([ensure/0, ensure/1]).
-export([get_base_dir/0, get_base_dir/1]).
-export([local_path/1, local_path/2]).
-export([doc_path/0]).
-export([deps_on_path/0, new_siblings/1]).

%% @spec deps_on_path() -> [ProjNameAndVers]
Expand Down Expand Up @@ -94,7 +93,3 @@ local_path(Components, Module) ->
%% Equivalent to local_path(Components, ?MODULE).
local_path(Components) ->
local_path(Components, ?MODULE).

%% @doc Return the documentation path for the web console.
doc_path() ->
filename:join([ns_config_default:default_root_path() | ["docs"]]).
3 changes: 1 addition & 2 deletions deps/menelaus/src/menelaus_web.erl
Expand Up @@ -97,8 +97,7 @@ webconfig(Config) ->
WebConfig = [{ip, Ip},
{port, Port},
{approot, menelaus_deps:local_path(["priv","public"],
?MODULE)},
{docroot, menelaus_deps:doc_path()}],
?MODULE)}],
WebConfig.

webconfig() ->
Expand Down

0 comments on commit b9c28fa

Please sign in to comment.