Author: Raphael Isemann Date: 2021-01-19T18:58:43+01:00 New Revision: 2f8099509030d3352ac211b1fbae4c6c32b0bfa7
URL: https://github.com/llvm/llvm-project/commit/2f8099509030d3352ac211b1fbae4c6c32b0bfa7 DIFF: https://github.com/llvm/llvm-project/commit/2f8099509030d3352ac211b1fbae4c6c32b0bfa7.diff LOG: [lldb][docs] Update .htaccess to redirect from old SB API documentation to new one This is mostly SEO so that the new API can take over the old API when people search for the different SB* classes. Sadly epydoc decided to throw in a -class prefix behind all the class file names, so we can't just overwrite the old files with the newly generated ones. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D94900 Added: Modified: lldb/docs/.htaccess Removed: ################################################################################ diff --git a/lldb/docs/.htaccess b/lldb/docs/.htaccess index 31b80359fb5f..7f84a78df0a6 100644 --- a/lldb/docs/.htaccess +++ b/lldb/docs/.htaccess @@ -18,3 +18,89 @@ Redirect 301 /use/architecture.html https://lldb.llvm.org/resources/architecture Redirect 301 /resources/architecture.html https://lldb.llvm.org/design/overview.html Redirect 301 /resources/reproducers.html https://lldb.llvm.org/design/reproducers.html Redirect 301 /resources/sbapi.html https://lldb.llvm.org/design/sbapi.html + +# Redirect old Python API to new Python API. +Redirect 301 /python_reference/lldb-module.html https://lldb.llvm.org/python_api.html + +Redirect 301 /python_reference/lldb.SBAddress-class.html https://lldb.llvm.org/python_api/lldb.SBAddress.html +Redirect 301 /python_reference/lldb.SBAttachInfo-class.html https://lldb.llvm.org/python_api/lldb.SBAttachInfo.html +Redirect 301 /python_reference/lldb.SBBlock-class.html https://lldb.llvm.org/python_api/lldb.SBBlock.html +Redirect 301 /python_reference/lldb.SBBreakpoint-class.html https://lldb.llvm.org/python_api/lldb.SBBreakpoint.html +Redirect 301 /python_reference/lldb.SBBreakpointList-class.html https://lldb.llvm.org/python_api/lldb.SBBreakpointList.html +Redirect 301 /python_reference/lldb.SBBreakpointLocation-class.html https://lldb.llvm.org/python_api/lldb.SBBreakpointLocation.html +Redirect 301 /python_reference/lldb.SBBreakpointName-class.html https://lldb.llvm.org/python_api/lldb.SBBreakpointName.html +Redirect 301 /python_reference/lldb.SBBroadcaster-class.html https://lldb.llvm.org/python_api/lldb.SBBroadcaster.html +Redirect 301 /python_reference/lldb.SBCommandInterpreter-class.html https://lldb.llvm.org/python_api/lldb.SBCommandInterpreter.html +Redirect 301 /python_reference/lldb.SBCommandInterpreterRunOptions-class.html https://lldb.llvm.org/python_api/lldb.SBCommandInterpreterRunOptions.html +Redirect 301 /python_reference/lldb.SBCommandReturnObject-class.html https://lldb.llvm.org/python_api/lldb.SBCommandReturnObject.html +Redirect 301 /python_reference/lldb.SBCommunication-class.html https://lldb.llvm.org/python_api/lldb.SBCommunication.html +Redirect 301 /python_reference/lldb.SBCompileUnit-class.html https://lldb.llvm.org/python_api/lldb.SBCompileUnit.html +Redirect 301 /python_reference/lldb.SBData-class.html https://lldb.llvm.org/python_api/lldb.SBData.html +Redirect 301 /python_reference/lldb.SBDebugger-class.html https://lldb.llvm.org/python_api/lldb.SBDebugger.html +Redirect 301 /python_reference/lldb.SBDeclaration-class.html https://lldb.llvm.org/python_api/lldb.SBDeclaration.html +Redirect 301 /python_reference/lldb.SBEnvironment-class.html https://lldb.llvm.org/python_api/lldb.SBEnvironment.html +Redirect 301 /python_reference/lldb.SBError-class.html https://lldb.llvm.org/python_api/lldb.SBError.html +Redirect 301 /python_reference/lldb.SBEvent-class.html https://lldb.llvm.org/python_api/lldb.SBEvent.html +Redirect 301 /python_reference/lldb.SBExecutionContext-class.html https://lldb.llvm.org/python_api/lldb.SBExecutionContext.html +Redirect 301 /python_reference/lldb.SBExpressionOptions-class.html https://lldb.llvm.org/python_api/lldb.SBExpressionOptions.html +Redirect 301 /python_reference/lldb.SBFile-class.html https://lldb.llvm.org/python_api/lldb.SBFile.html +Redirect 301 /python_reference/lldb.SBFileSpec-class.html https://lldb.llvm.org/python_api/lldb.SBFileSpec.html +Redirect 301 /python_reference/lldb.SBFileSpecList-class.html https://lldb.llvm.org/python_api/lldb.SBFileSpecList.html +Redirect 301 /python_reference/lldb.SBFrame-class.html https://lldb.llvm.org/python_api/lldb.SBFrame.html +Redirect 301 /python_reference/lldb.SBFunction-class.html https://lldb.llvm.org/python_api/lldb.SBFunction.html +Redirect 301 /python_reference/lldb.SBHostOS-class.html https://lldb.llvm.org/python_api/lldb.SBHostOS.html +Redirect 301 /python_reference/lldb.SBInstruction-class.html https://lldb.llvm.org/python_api/lldb.SBInstruction.html +Redirect 301 /python_reference/lldb.SBInstructionList-class.html https://lldb.llvm.org/python_api/lldb.SBInstructionList.html +Redirect 301 /python_reference/lldb.SBLanguageRuntime-class.html https://lldb.llvm.org/python_api/lldb.SBLanguageRuntime.html +Redirect 301 /python_reference/lldb.SBLaunchInfo-class.html https://lldb.llvm.org/python_api/lldb.SBLaunchInfo.html +Redirect 301 /python_reference/lldb.SBLineEntry-class.html https://lldb.llvm.org/python_api/lldb.SBLineEntry.html +Redirect 301 /python_reference/lldb.SBListener-class.html https://lldb.llvm.org/python_api/lldb.SBListener.html +Redirect 301 /python_reference/lldb.SBMemoryRegionInfo-class.html https://lldb.llvm.org/python_api/lldb.SBMemoryRegionInfo.html +Redirect 301 /python_reference/lldb.SBMemoryRegionInfoList-class.html https://lldb.llvm.org/python_api/lldb.SBMemoryRegionInfoList.html +Redirect 301 /python_reference/lldb.SBModule-class.html https://lldb.llvm.org/python_api/lldb.SBModule.html +Redirect 301 /python_reference/lldb.SBModuleSpec-class.html https://lldb.llvm.org/python_api/lldb.SBModuleSpec.html +Redirect 301 /python_reference/lldb.SBModuleSpecList-class.html https://lldb.llvm.org/python_api/lldb.SBModuleSpecList.html +Redirect 301 /python_reference/lldb.SBPlatform-class.html https://lldb.llvm.org/python_api/lldb.SBPlatform.html +Redirect 301 /python_reference/lldb.SBPlatformConnectOptions-class.html https://lldb.llvm.org/python_api/lldb.SBPlatformConnectOptions.html +Redirect 301 /python_reference/lldb.SBPlatformShellCommand-class.html https://lldb.llvm.org/python_api/lldb.SBPlatformShellCommand.html +Redirect 301 /python_reference/lldb.SBProcess-class.html https://lldb.llvm.org/python_api/lldb.SBProcess.html +Redirect 301 /python_reference/lldb.SBProcessInfo-class.html https://lldb.llvm.org/python_api/lldb.SBProcessInfo.html +Redirect 301 /python_reference/lldb.SBQueue-class.html https://lldb.llvm.org/python_api/lldb.SBQueue.html +Redirect 301 /python_reference/lldb.SBQueueItem-class.html https://lldb.llvm.org/python_api/lldb.SBQueueItem.html +Redirect 301 /python_reference/lldb.SBReproducer-class.html https://lldb.llvm.org/python_api/lldb.SBReproducer.html +Redirect 301 /python_reference/lldb.SBSection-class.html https://lldb.llvm.org/python_api/lldb.SBSection.html +Redirect 301 /python_reference/lldb.SBSourceManager-class.html https://lldb.llvm.org/python_api/lldb.SBSourceManager.html +Redirect 301 /python_reference/lldb.SBStream-class.html https://lldb.llvm.org/python_api/lldb.SBStream.html +Redirect 301 /python_reference/lldb.SBStringList-class.html https://lldb.llvm.org/python_api/lldb.SBStringList.html +Redirect 301 /python_reference/lldb.SBStructuredData-class.html https://lldb.llvm.org/python_api/lldb.SBStructuredData.html +Redirect 301 /python_reference/lldb.SBSymbol-class.html https://lldb.llvm.org/python_api/lldb.SBSymbol.html +Redirect 301 /python_reference/lldb.SBSymbolContext-class.html https://lldb.llvm.org/python_api/lldb.SBSymbolContext.html +Redirect 301 /python_reference/lldb.SBSymbolContextList-class.html https://lldb.llvm.org/python_api/lldb.SBSymbolContextList.html +Redirect 301 /python_reference/lldb.SBSyntheticValueProvider-class.html https://lldb.llvm.org/python_api/lldb.SBSyntheticValueProvider.html +Redirect 301 /python_reference/lldb.SBTarget-class.html https://lldb.llvm.org/python_api/lldb.SBTarget.html +Redirect 301 /python_reference/lldb.SBThread-class.html https://lldb.llvm.org/python_api/lldb.SBThread.html +Redirect 301 /python_reference/lldb.SBThreadCollection-class.html https://lldb.llvm.org/python_api/lldb.SBThreadCollection.html +Redirect 301 /python_reference/lldb.SBThreadPlan-class.html https://lldb.llvm.org/python_api/lldb.SBThreadPlan.html +Redirect 301 /python_reference/lldb.SBTrace-class.html https://lldb.llvm.org/python_api/lldb.SBTrace.html +Redirect 301 /python_reference/lldb.SBTraceOptions-class.html https://lldb.llvm.org/python_api/lldb.SBTraceOptions.html +Redirect 301 /python_reference/lldb.SBType-class.html https://lldb.llvm.org/python_api/lldb.SBType.html +Redirect 301 /python_reference/lldb.SBTypeCategory-class.html https://lldb.llvm.org/python_api/lldb.SBTypeCategory.html +Redirect 301 /python_reference/lldb.SBTypeEnumMember-class.html https://lldb.llvm.org/python_api/lldb.SBTypeEnumMember.html +Redirect 301 /python_reference/lldb.SBTypeEnumMemberList-class.html https://lldb.llvm.org/python_api/lldb.SBTypeEnumMemberList.html +Redirect 301 /python_reference/lldb.SBTypeFilter-class.html https://lldb.llvm.org/python_api/lldb.SBTypeFilter.html +Redirect 301 /python_reference/lldb.SBTypeFormat-class.html https://lldb.llvm.org/python_api/lldb.SBTypeFormat.html +Redirect 301 /python_reference/lldb.SBTypeList-class.html https://lldb.llvm.org/python_api/lldb.SBTypeList.html +Redirect 301 /python_reference/lldb.SBTypeMember-class.html https://lldb.llvm.org/python_api/lldb.SBTypeMember.html +Redirect 301 /python_reference/lldb.SBTypeMemberFunction-class.html https://lldb.llvm.org/python_api/lldb.SBTypeMemberFunction.html +Redirect 301 /python_reference/lldb.SBTypeNameSpecifier-class.html https://lldb.llvm.org/python_api/lldb.SBTypeNameSpecifier.html +Redirect 301 /python_reference/lldb.SBTypeSummary-class.html https://lldb.llvm.org/python_api/lldb.SBTypeSummary.html +Redirect 301 /python_reference/lldb.SBTypeSummaryOptions-class.html https://lldb.llvm.org/python_api/lldb.SBTypeSummaryOptions.html +Redirect 301 /python_reference/lldb.SBTypeSynthetic-class.html https://lldb.llvm.org/python_api/lldb.SBTypeSynthetic.html +Redirect 301 /python_reference/lldb.SBUnixSignals-class.html https://lldb.llvm.org/python_api/lldb.SBUnixSignals.html +Redirect 301 /python_reference/lldb.SBValue-class.html https://lldb.llvm.org/python_api/lldb.SBValue.html +Redirect 301 /python_reference/lldb.SBValueList-class.html https://lldb.llvm.org/python_api/lldb.SBValueList.html +Redirect 301 /python_reference/lldb.SBVariablesOptions-class.html https://lldb.llvm.org/python_api/lldb.SBVariablesOptions.html +Redirect 301 /python_reference/lldb.SBWatchpoint-class.html https://lldb.llvm.org/python_api/lldb.SBWatchpoint.html +Redirect 301 /python_reference/lldb.declaration-class.html https://lldb.llvm.org/python_api/lldb.declaration.html +Redirect 301 /python_reference/lldb.value-class.html https://lldb.llvm.org/python_api/lldb.value.html +Redirect 301 /python_reference/lldb.value_iter-class.html https://lldb.llvm.org/python_api/lldb.value_iter.html _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits