Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some clean up in docbuilding #19127

Closed
jdemeyer opened this issue Sep 3, 2015 · 52 comments
Closed

Some clean up in docbuilding #19127

jdemeyer opened this issue Sep 3, 2015 · 52 comments

Comments

@jdemeyer
Copy link

jdemeyer commented Sep 3, 2015

No change in functionality, just some clean up.

In particular:

  • move the code for running Sphinx to src/sage_setup/docbuild
  • do not create and delete empty directories, instead silence the Sphinx warnings about non-existing directories
  • instead of compile(), use import
  • add a new variable SAGE_DOC_OUTPUT for src/doc/output (this is moved to local/share/doc/sage in Build documentation in $SAGE_SHARE/doc/sage #19963)

Depends on #19950

CC: @hivert @nathanncohen

Component: build

Author: Jeroen Demeyer

Branch: 0455d14

Reviewer: Marc Mezzarobba

Issue created by migration from https://trac.sagemath.org/ticket/19127

@jdemeyer jdemeyer added this to the sage-6.9 milestone Sep 3, 2015
@jdemeyer
Copy link
Author

jdemeyer commented Sep 3, 2015

Branch: u/jdemeyer/ticket/19127

@jdemeyer
Copy link
Author

jdemeyer commented Sep 3, 2015

Commit: 2e2cb7a

@jdemeyer
Copy link
Author

jdemeyer commented Sep 3, 2015

New commits:

2e2cb7aDocbuilder cleanup

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 3, 2015

Changed commit from 2e2cb7a to d959af4

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 3, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

d959af4builder/__init__.py should not be executable

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 8, 2015

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

ff58c9cReplace conf.py copies by symlinks
d783ee1Docbuilder cleanup

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 8, 2015

Changed commit from d959af4 to d783ee1

@jdemeyer
Copy link
Author

jdemeyer commented Sep 8, 2015

Dependencies: #19166

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 7, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

9b12694Merge tag '6.10.beta3' into t/19127/ticket/19127

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 7, 2015

Changed commit from d783ee1 to 9b12694

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 10, 2016

Changed commit from 9b12694 to 97a6f82

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 10, 2016

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

97a6f82Merge tag '7.0.beta3' into t/19127/ticket/19127

@jdemeyer
Copy link
Author

Changed dependencies from #19166 to none

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 24, 2016

Changed commit from 97a6f82 to ea7efaa

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 24, 2016

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

ea7efaaDocbuilder cleanup

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 25, 2016

Changed commit from ea7efaa to f0f0e4c

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 25, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

f0f0e4cUse `__main__` to run docbuilder

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 25, 2016

Changed commit from f0f0e4c to 2fbfe8e

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 25, 2016

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

2fbfe8eDocbuilder cleanup

@jdemeyer

This comment has been minimized.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 25, 2016

Changed commit from 2fbfe8e to 93339c2

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 25, 2016

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

93339c2Docbuilder cleanup

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 25, 2016

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

67b8e35Docbuilder cleanup

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 25, 2016

Changed commit from 93339c2 to 67b8e35

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 26, 2016

Changed commit from 67b8e35 to 7c98158

@jdemeyer
Copy link
Author

comment:24

That failure looks unrelated to the documentation, so I would be surprised if that buildbot error was due to this ticket. Which other tickets did you test?

@jhpalmieri
Copy link
Member

comment:25

Unrelated to the doctest failure: should the clean target in src/doc/Makefile also do something like rm -f common/*.pyc? It would be good to clean up common/builder.pyc and other left-over files.

@jdemeyer
Copy link
Author

@jdemeyer
Copy link
Author

comment:27

The problem seems to be that doctesting the old src/doc/output files fails because they are no longer consider "Sage library" files. Easily fixed by removing src/doc/output.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 28, 2016

Changed commit from 537d9d2 to 2b37da3

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 28, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

2b37da3Remove old src/doc/ouput and .pyc files

@jdemeyer
Copy link
Author

comment:29

Oops, I was confusing this ticket with #19963. Never mind this last commit.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 28, 2016

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 28, 2016

Changed commit from 2b37da3 to 537d9d2

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 29, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

2f8fe6bUse force_lib=True for "doc" modules

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 29, 2016

Changed commit from 537d9d2 to 2f8fe6b

@jdemeyer
Copy link
Author

comment:33

I will merge #19950 because these tickets conflict.

@jdemeyer
Copy link
Author

Dependencies: #19950

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 29, 2016

Changed commit from 2f8fe6b to 0455d14

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jan 29, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

b5e3668allow the docbuild of a single file to build also underscore methods
5352485Merge branch 'public/19950' into 7.1.b0
0455d14Merge remote-tracking branch 'trac/public/19950' into t/19127/ticket/19127

@vbraun
Copy link
Member

vbraun commented Feb 2, 2016

Changed branch from u/jdemeyer/ticket/19127 to 0455d14

@jm58660
Copy link
Mannequin

jm58660 mannequin commented Mar 30, 2016

Changed commit from 0455d14 to none

@jm58660
Copy link
Mannequin

jm58660 mannequin commented Mar 30, 2016

comment:37

Is this the reason for #20255?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants