Skip to content
Snippets Groups Projects
Commit bd86f108 authored by Damian Johnson's avatar Damian Johnson
Browse files

Rename cached manual to cached_tor_manual.cfg

By convention we've had a '.cfg' suffix for Stem config files. Nice side effect
is that it causes vim to use nice syntax highlighting.
parent 4c2aca73
Branches
Tags
No related merge requests found
......@@ -19,7 +19,7 @@ try:
except ImportError:
import urllib2 as urllib
CACHE_PATH = os.path.join(os.path.dirname(__file__), 'stem', 'cached_tor_manual')
CACHE_PATH = os.path.join(os.path.dirname(__file__), 'stem', 'cached_tor_manual.cfg')
GITWEB_MAN_LOG = 'https://gitweb.torproject.org/tor.git/log/doc/tor.1.txt'
MAN_LOG_LINK = "href='/tor.git/commit/doc/tor.1.txt\?id=([^']*)'"
......
......@@ -17,5 +17,5 @@ distutils.core.setup(
packages = ['stem', 'stem.descriptor', 'stem.interpreter', 'stem.response', 'stem.util'],
keywords = 'tor onion controller',
scripts = ['tor-prompt'],
package_data = {'stem': ['cached_tor_manual', 'settings.cfg'], 'stem.interpreter': ['settings.cfg'], 'stem.util': ['ports.cfg']},
package_data = {'stem': ['cached_tor_manual.cfg', 'settings.cfg'], 'stem.interpreter': ['settings.cfg'], 'stem.util': ['ports.cfg']},
)
File moved
......@@ -79,7 +79,7 @@ except ImportError:
Category = stem.util.enum.Enum('GENERAL', 'CLIENT', 'RELAY', 'DIRECTORY', 'AUTHORITY', 'HIDDEN_SERVICE', 'TESTING', 'UNKNOWN')
GITWEB_MANUAL_URL = 'https://gitweb.torproject.org/tor.git/plain/doc/tor.1.txt'
CACHE_PATH = os.path.join(os.path.dirname(__file__), 'cached_tor_manual')
CACHE_PATH = os.path.join(os.path.dirname(__file__), 'cached_tor_manual.cfg')
CATEGORY_SECTIONS = {
'GENERAL OPTIONS': Category.GENERAL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment