Skip to content

Commit

Permalink
Remove derived PDFs from repo; now in 'src' repo, comstructed by HCFI…
Browse files Browse the repository at this point in the history
…LES and MAKE-INDEX-HTMLS (#1657)

* Remove derived PDFs from branch other than gh-pages

* only the gh-pages branch should have the pdfs

* make pdfs and listings

* Update HCFILES and MAKE-INDEX-HTMLS, add preliminary documentation

* add a slashit to avoid angle brackets
  • Loading branch information
masinter committed Apr 29, 2024
1 parent 14b102f commit d79d5b3
Show file tree
Hide file tree
Showing 117 changed files with 486 additions and 242 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,21 @@ tmp/*
# releases directory
releases/*

# all PDFs (those explicitly checked in aren't ignored
# normally when you have derived files, you ignore them from git
# because they will get regenerated when you rebuild.
# MEDLEY-UTILS HCFILES regenerates

*.pdf


# all loadup files

loadups/exports.all
library/RDSYS*
loadups/lisp.sysout
loadups/full.sysout
loadups/fuller.sysout # not currently included but might as well ignore it
loadups/*.dribble
loadups/whereis.hash
loadups/apps.sysout
Expand Down
Binary file removed docs/Medley-Primer.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/APPENDIXA-THEEXEC.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/APPENDIXA-THEEXECtmp.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/APPENDIXB-SEDIT.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/APPENDIXC-ICONW.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/APPENDIXE-ERRSYS.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/ENVOSCOVERSHEET.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/Indexfinal.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/LOT.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/PREFACE.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/PRINTINGSPEC.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/SEC1-INTRODUCTION.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/SEC2-NOTES-AND-CAUTIONS.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/SEC3-IRMFEATURES-I.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/SEC3-IRMFEATURES-II.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/SEC3-IRMFEATURES-III.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/SEC4-IRMERRATA.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/SEC5-LIBRARY-MODULES.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/SEC6-USERS-GUIDES.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/SEC7-CLIMPLMNTN.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/TABS2L.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/TABSINFOP.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/TABSLAYOUTL.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/TABSPEC.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/TOC.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/Tab-Replacements.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/Titlepage.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/bindercover.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/indexbase.pdf
Binary file not shown.
Binary file removed docs/ReleaseNote/test.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/000-COVER.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/001-TITLEPAGE.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/002-TOC.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/003-LOF.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/004-PREFACE.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/1-INTRODUCTION.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/2-software-installation.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/2-software-installation.tedit
Binary file not shown.
Binary file removed docs/Sun Users Guide/3-GETTING-STARTED.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/4-USING-MEDLEY.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/5-MEDLEY-FILES.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/6-ERRORS.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/APP-A-INSTALL-HINTS.pdf
Binary file not shown.
Binary file not shown.
Binary file removed docs/Sun Users Guide/APP-C-FILE-LAYOUT.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/APP-D-DIFFERENCES.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/COVERMEMO.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/GLOSSARY.pdf
Binary file not shown.
Binary file removed docs/Sun Users Guide/INDEX.pdf
Binary file not shown.
Binary file removed docs/Sun-Users-Guide.pdf
Binary file not shown.
Binary file removed docs/medley-irm/001-TITLEPAGE.pdf
Binary file not shown.
Binary file removed docs/medley-irm/003-TOC.pdf
Binary file not shown.
Binary file removed docs/medley-irm/01-INTRO.pdf
Binary file not shown.
Binary file removed docs/medley-irm/02-LITATOM.pdf
Binary file not shown.
Binary file removed docs/medley-irm/03-lists.pdf
Binary file not shown.
Binary file removed docs/medley-irm/04-STRINGS.pdf
Binary file not shown.
Binary file removed docs/medley-irm/05-ARRAY.pdf
Binary file not shown.
Binary file removed docs/medley-irm/06-HASHARRAYS.pdf
Binary file not shown.
Binary file removed docs/medley-irm/07-NUMBERS.pdf
Binary file not shown.
Binary file removed docs/medley-irm/08-RECORDPACKAGE.pdf
Binary file not shown.
Binary file removed docs/medley-irm/09-conditionals.pdf
Binary file not shown.
Binary file removed docs/medley-irm/10-FUNC-DEF.pdf
Binary file not shown.
Binary file removed docs/medley-irm/11-VAR-BINDINGS.pdf
Binary file not shown.
Binary file removed docs/medley-irm/12-MISC.pdf
Binary file not shown.
Binary file removed docs/medley-irm/13-EXECUTIVE.pdf
Binary file not shown.
Binary file removed docs/medley-irm/14-ERRORS.pdf
Binary file not shown.
Binary file removed docs/medley-irm/15-BREAKING.pdf
Binary file not shown.
Binary file removed docs/medley-irm/16-SEDIT.pdf
Binary file not shown.
Binary file removed docs/medley-irm/17-FILEPACKAGE.pdf
Binary file not shown.
Binary file removed docs/medley-irm/18-COMPILER.pdf
Binary file not shown.
Binary file removed docs/medley-irm/19-DWIM.pdf
Binary file not shown.
Binary file removed docs/medley-irm/20-CLISP.pdf
Binary file not shown.
Binary file removed docs/medley-irm/21-PERFORMANCE.pdf
Binary file not shown.
Binary file removed docs/medley-irm/22-PERFORMANCE.pdf
Binary file not shown.
Binary file removed docs/medley-irm/22-PROCESSES.pdf
Binary file not shown.
Binary file removed docs/medley-irm/23-PROCESSES.pdf
Binary file not shown.
Binary file removed docs/medley-irm/23-SSTREAMS.pdf
Binary file not shown.
Binary file removed docs/medley-irm/23-STREAMS.pdf
Binary file not shown.
Binary file removed docs/medley-irm/24-IO.pdf
Binary file not shown.
Binary file removed docs/medley-irm/25-USERIO-PACKAGES.pdf
Binary file not shown.
Binary file removed docs/medley-irm/26-GRAPHICS.pdf
Binary file not shown.
Binary file removed docs/medley-irm/27-WINDOWS.pdf
Binary file not shown.
Binary file removed docs/medley-irm/28-HARDCOPY.pdf
Binary file not shown.
Binary file removed docs/medley-irm/29-TERMINAL.pdf
Binary file not shown.
Binary file removed docs/primer/001-TITLEPAGE.pdf
Binary file not shown.
Binary file removed docs/primer/002-PREFACE.pdf
Binary file not shown.
Binary file removed docs/primer/003-TOC.pdf
Binary file not shown.
Binary file removed docs/primer/01-GLOSSARY.pdf
Binary file not shown.
Binary file removed docs/primer/02-TYPING-SHORTCUTS.pdf
Binary file not shown.
Binary file removed docs/primer/03-USING-MENUS.pdf
Binary file not shown.
Binary file removed docs/primer/04-USING-FILES.pdf
Binary file not shown.
Binary file removed docs/primer/05-FILEBROWSER.pdf
Binary file not shown.
Binary file removed docs/primer/06-WINDOWS.pdf
Binary file not shown.
Binary file removed docs/primer/07-EDITING-AND-SAVING.pdf
Binary file not shown.
Binary file removed docs/primer/08-YOUR-INIT.pdf
Binary file not shown.
Binary file removed docs/primer/09-FLEXIBILITY.pdf
Binary file not shown.
Binary file removed docs/primer/10-BREAK-MENU.pdf
Binary file not shown.
Binary file removed docs/primer/11-WHAT-TO-DO.pdf
Binary file not shown.
Binary file removed docs/primer/12-WINDOWS.pdf
Binary file not shown.
Binary file removed docs/primer/13-WHAT-ARE-MENUS.pdf
Binary file not shown.
Binary file removed docs/primer/14-BITMAPS.pdf
Binary file not shown.
Binary file removed docs/primer/15-DISPLAYSTREAMS.pdf
Binary file not shown.
Binary file removed docs/primer/16-FONTS.pdf
Binary file not shown.
Binary file removed docs/primer/17-INSPECTOR.pdf
Binary file not shown.
Binary file removed docs/primer/18-MASTERSCOPE.pdf
Binary file not shown.
Binary file removed docs/primer/19-SPY.pdf
Binary file not shown.
Binary file removed docs/primer/20-FREE-MENUS.pdf
Binary file not shown.
Binary file removed docs/primer/21-GRAPHER.pdf
Binary file not shown.
Binary file removed docs/primer/22-RESOURCE-MANAGEMENT.pdf
Binary file not shown.
Binary file removed docs/primer/23-INTERACTIONS.pdf
Binary file not shown.
Binary file removed docs/primer/24-GLOBAL-VARIABLES.pdf
Binary file not shown.
Binary file removed docs/primer/25-REFERENCES.pdf
Binary file not shown.
647 changes: 405 additions & 242 deletions internal/MEDLEY-UTILS

Large diffs are not rendered by default.

Binary file added internal/MEDLEY-UTILS.DFASL
Binary file not shown.
Binary file removed internal/MEDLEY-UTILS.LCOM
Binary file not shown.
73 changes: 73 additions & 0 deletions scripts/make-gh-pages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
preliminary documentation -- needs validation
HCFILES writes in {MEDLEYDIR} but it should write in something like (SRCDIR)

# setup

github pages are maintained in the 'src' repository as a forked repo
If you don't have a clone of src:
```
gh repo clone interlisp/src # make one
cd src # all other commands
```
the first time once you've cloned, point the 'src' clone
```
gh remote add upstream https://github.com/interlisp/medley
```
now update src repository to match 'medley'
Run these in the 'src' repository!

```
git fetch upstream # pull down remote branches
git checkout master # make sure you're in master
git rebase upstream/master # update src's master
# to latest medley's master
git push -f origin master # push back go sfc
```

# Run Medly to create PDFs.

Start with the apps sysout to spare yourself package problems
In an Interlisp exec:
```
(FILESLOAD PDFSTREAM GITFNS MEDLEY-UTILS)
(HCFILES)
(MAKE-INDEX-HTMLS)
```
check out that it looks right if you point your browser the index/index.hrml at the top level

# deploying

* find the current release tags
Not sure how to do that.

```
wget -l 1 https://github.com/interlisp/medley/releases/latest
```
will retrieve a 3xx redirect from the web server;
But all you need is the name, not the web page.
anyway, assuming the release is medley-YYMMDD-xxxxxxx.

put release name in variable
```
export release=medley-240420-1234567
```
## make a new branch
```
git checkout -b pages-$release
```
*temporarily* change .gitignore to allow checkin of pdfs and index.html
```
cp .gitignore /tmp/save$release
cp .gitignore.for.pages .gitignore
```
Now you can push this to the github-pages
```
git add .
git commit -m "rerun making ghpages and index"
git push
```




0 comments on commit d79d5b3

Please sign in to comment.