*! version 1.0.0 07dec2017

Title

sitetocbuilder -- Create a simple user-site
table of contents file (stata.toc)
from all packages in the current directory.

Syntax

sitetocbuilder
[, options]

Main
replace replace an existing -stata.toc- file

Description

sitetocbuilder creates a simple user-site
table-of-contents file (stata.toc)
from all packages in the current directory. It is
intended for quick creation of a user-site that has fairly
limited installation instructions, for example, class or
workshop materials.

Options

Main

replace replaces an existing -pkg- file. This is required if
such a file exists.

Remarks

sitetocbuilder creates a simple user-site
table-of-contents file (stata.toc)
from all the package files in the current directory.

This command requires a template for the contents file,
named StataSiteTemplate.txt, which contains all the
information about the user site except the list of packages
to include.

This command is meant to be run in the directory where
the final user-site table-of-contents file (stata.toc) is to
be located. The template should also be located in this
same directory.

Examples

location of your user-site

. cd "Z:/PUBLIC_web/testsite

List packages in testsite

. sitetocbuilder, replace

net from the user site

. net from "https://www.ssc.wisc.edu/~hemken/testsite"