Skip to content

Commit

Permalink
Merge pull request oscar-system#11 from AlexD97/AbstractAlgebra_matrix
Browse files Browse the repository at this point in the history
Abstract algebra matrix
  • Loading branch information
jankoboehm authored May 19, 2021
2 parents 371f5c7 + 52a7867 commit 452e23a
Show file tree
Hide file tree
Showing 17 changed files with 1,360 additions and 390 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
AbstractAlgebra = "0.16.0"
DocStringExtensions = "0.8"
GAP = "0.5"
Hecke = "0.10.4"
Hecke = "0.10.5"
Nemo = "0.22.1"
Polymake = "0.5.5"
RandomExtensions = "0.4.3"
Expand Down
1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ DocumenterMarkdown = "997ab1e6-3595-5248-9280-8efb232c3433"
Hecke = "3e1990a7-5d81-5526-99ce-9ba3ff248f21"
Nemo = "2edaba10-b0f1-5616-af89-8c11ac63239a"
Oscar = "f1435218-dba5-11e9-1e4d-f1a5fab5fc13"
Kroki = "b3565e16-c1f2-4fe9-b4ab-221c88942068"
24 changes: 23 additions & 1 deletion docs/make_work.jl
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,25 @@ function Documenter.Documents.addpage!(doc::Document, src::AbstractString, dst::
doc.blueprint.pages[name] = page
end

# Overwrite printing to make the header not full of redundant nonsense
# Turns
# Hecke.Order - Method
# into
# Order - Method

# To remove the '-'
# Documenter.Utilities.print_signature(io::IO, signature) = print(io, signature)

# To remove the "Method", "Type", "Module" use the following
# Documenter.Utilities.doccat(b::Base.Docs.Binding, ::Type) = ""
# doccat(::Type) = ""
# doccat(::Module) = ""

# Remove the module prefix
Base.print(io::IO, b::Base.Docs.Binding) = print(io, b.var)

# Sanitize paths

function sanitize(a::AbstractString, n::AbstractString)
b = splitpath(replace(a, Regex(".*$(n)") => n))
return joinpath(b[1], b[3:end]...)
Expand All @@ -157,15 +176,18 @@ const aa = sanitize(bla, "AbstractAlgebra")
bib = CitationBibliography(joinpath(@__DIR__, "oscar_references.bib"))

DocMeta.setdocmeta!(Oscar, :DocTestSetup, :(using Oscar); recursive = true)
DocMeta.setdocmeta!(Hecke, :DocTestSetup, :(using Hecke); recursive = true)

makedocs(bib,
format = Documenter.HTML(prettyurls = !local_build),
# format = Documenter.HTML(),
# format = Markdown(),
sitename = "Oscar.jl",
modules = [Oscar],
modules = [Oscar, Hecke, Nemo, AbstractAlgebra, Singular],
clean = true,
doctest = true,
strict = true,
checkdocs = :none,
pages = [
"index.md",
"Rings" => [ "$(aa)/rings.md",
Expand Down
5 changes: 2 additions & 3 deletions docs/oscar_references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ @book{DP13
collection={AIMS Library of Mathematical Sciences}
}

@InProceedings{KL91,
@inproceedings{KL91,
author="Krick, Teresa
and Logar, Alessandro",
editor="Mattson, Harold F.
Expand All @@ -69,7 +69,6 @@ @InProceedings{KL91
publisher="Springer Berlin Heidelberg",
address="Berlin, Heidelberg",
pages="195--205",
isbn="978-3-540-38436-6"
}

@article{Kem02,
Expand Down Expand Up @@ -139,4 +138,4 @@ @article{EHV92
language = {English},
MSC2010 = {13P10 13A05 13A15 13F20 13A10},
Zbl = {0770.13018}
}
}
4 changes: 0 additions & 4 deletions docs/src/Rings/affine.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ R, x = PolynomialRing(QQ, :x=>1:3)
Q, mQ = quo(R, ideal([x[1]^2-2, x[2]^2-3, x[3]^2-5]))
```

```@docs
quo(R::MPolyRing, I::MPolyIdeal)
```

### Elements

Elements are created by moving polynomials into the ring:
Expand Down
Loading

0 comments on commit 452e23a

Please sign in to comment.