Add cname to metasploit docs

This commit is contained in:
adfoster-r7 2022-01-10 13:04:53 +00:00
parent 0ee0e3959d
commit c4c39e97dd
No known key found for this signature in database
GPG Key ID: 3BD4FA3818818F04
3 changed files with 15 additions and 13 deletions

1
docs/CNAME Normal file
View File

@ -0,0 +1 @@
docs.metasploit.com

View File

@ -2,7 +2,7 @@
title: 'Metasploit Documentation | Penetration Testing Software, Pen Testing Security'
description: View Metasploit Framework Documentation
searchTitle: Metasploit Documentation
baseurl: '/metasploit-framework'
baseurl: ''
url: 'https://rapid7.github.io/metasploit-framework'
logo: assets/images/favicon.png

View File

@ -614,10 +614,6 @@ module Build
title: 'Google Summer of Code',
folder: 'google-summer-of-code',
children: [
{
path: 'GSoC-2020-Project-Ideas.md',
title: without_prefix('GSoC')
},
{
path: 'How-to-Apply-to-GSoC.md'
},
@ -625,10 +621,6 @@ module Build
path: 'GSoC-2017-Student-Proposal.md',
title: without_prefix('GSoC')
},
{
path: 'GSoC-2021-Project-Ideas.md',
title: without_prefix('GSoC')
},
{
path: 'GSoC-2017-Project-Ideas.md',
title: without_prefix('GSoC')
@ -645,6 +637,18 @@ module Build
path: 'GSoC-2019-Project-Ideas.md',
title: without_prefix('GSoC')
},
{
path: 'GSoC-2020-Project-Ideas.md',
title: without_prefix('GSoC')
},
{
path: 'GSoC-2021-Project-Ideas.md',
title: without_prefix('GSoC')
},
{
path: 'GSoC-2022-Project-Ideas.md',
title: without_prefix('GSoC')
},
]
},
{
@ -1048,10 +1052,7 @@ module Build
Port: 4000
}
)
server.mount_proc('/') do |_req, res|
res.set_redirect(WEBrick::HTTPStatus::TemporaryRedirect, '/metasploit-framework/')
end
server.mount('/metasploit-framework', WEBrick::HTTPServlet::FileHandler, PRODUCTION_BUILD_ARTIFACTS)
server.mount('/', WEBrick::HTTPServlet::FileHandler, PRODUCTION_BUILD_ARTIFACTS)
trap('INT') do
server.shutdown
rescue StandardError